# | Line 44 | Line 44 | public class XMLPacket { | |
---|---|---|
44 | return _params.keySet(); | |
45 | } | |
46 | ||
47 | + | // Find if a particular key exists in the HashMap. |
48 | + | public synchronized boolean containsKey(String key){ |
49 | + | return _params.containsKey(key); |
50 | + | } |
51 | + | |
52 | // Print out the entire HashMap. | |
53 | // (Mainly for assisting debugging.) | |
54 | public synchronized String printAll () { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |