ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java
(Generate patch)

Comparing projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java (file contents):
Revision 1.6 by pjm2, Fri Dec 1 14:42:04 2000 UTC vs.
Revision 1.7 by pjm2, Tue Dec 5 12:26:22 2000 UTC

# Line 2 | Line 2
2   package uk.ac.ukc.iscream.util;
3  
4   //---IMPORTS---
5 < import java.util.HashMap;
5 > import java.util.*;
6  
7   /**
8   * Object in which to store incoming XML data
# Line 39 | Line 39 | public class XMLPacket {
39          return (String) _params.get(key);
40      }
41      
42 +    // Return a Set of the keys in the HashMap.
43 +    public synchronized Set getSet () {
44 +        return _params.keySet();
45 +    }
46 +    
47      // Print out the entire HashMap.
48      // (Mainly for assisting debugging.)
49      public synchronized String printAll () {
# Line 51 | Line 56 | public class XMLPacket {
56       *
57       * @return the name of this class and its CVS revision
58       */
59 <    public String toString() {
59 >    public String toString () {
60          return this.getClass().getName() + "(" + REVISION.substring(11, REVISION.length() - 2) + ")";
61      }
62  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines