| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.TreeMap
              |
              +--net.ultrametrics.rcs.RevisionMap
A Map of objects which are Versioned.
| Field Summary | |
| static java.lang.String | _rcsId | 
| Constructor Summary | |
| RevisionMap() | |
| Method Summary | |
|  Versioned | get(java.lang.String version)Retrieve a versioned object from the map. | 
| static java.lang.String | getVersionComparable(java.lang.String version)Convert an RCS version number into one which can be compared using String's compareTo(). | 
|  void | put(Versioned object)Store a versioned object in the map. | 
| static int | versionCompareTo(java.lang.String a,
                 java.lang.String b)Compare two RCS version numbers. | 
| Methods inherited from class java.util.TreeMap | 
| clear, 
clone, 
comparator, 
containsKey, 
containsValue, 
entrySet, 
firstKey, 
get, 
headMap, 
keySet, 
lastKey, 
put, 
putAll, 
remove, 
size, 
subMap, 
tailMap, 
values | 
| Methods inherited from class java.util.AbstractMap | 
| equals, 
hashCode, 
isEmpty, 
toString | 
| Methods inherited from class java.lang.Object | 
| finalize, 
getClass, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
| Field Detail | 
public static final java.lang.String _rcsId
| Constructor Detail | 
public RevisionMap()
| Method Detail | 
public void put(Versioned object)
object - the object to store in the map.public Versioned get(java.lang.String version)
version - the version number of the object to retrieve.public static java.lang.String getVersionComparable(java.lang.String version)
i.e. 1.2.45 -> 00001.00002.00045
version - the RCS version number.
public static int versionCompareTo(java.lang.String a,
                                   java.lang.String b)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||