tiger.broker
Class TransSortedIndex

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--tiger.broker.TransIndex
              |
              +--tiger.broker.TransSortedIndex
All Implemented Interfaces:
java.util.Map, java.util.SortedMap

public class TransSortedIndex
extends TransIndex
implements java.util.SortedMap


Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
TransSortedIndex(java.util.SortedMap aTransBuffer, java.util.SortedMap aIndex)
           
TransSortedIndex(java.util.SortedMap aTransBuffer, java.util.SortedMap aIndex, java.lang.Object aFromKey, java.lang.Object aToKey)
           
 
Method Summary
 java.util.Comparator comparator()
           
 boolean containsKey(java.lang.Object aKey)
           
 java.util.Set entrySet()
           
 java.lang.Object firstKey()
           
 java.lang.Object get(java.lang.Object anID)
           
 java.util.Set getDeleted()
           
 java.util.Map getTransBuffer()
           
 java.util.SortedMap headMap(java.lang.Object aToKey)
           
 boolean isEmpty()
           
 java.lang.Object lastKey()
           
 java.lang.Object put(java.lang.Object anID, java.lang.Object anObj)
           
 java.lang.Object remove(java.lang.Object anID)
           
 java.util.SortedMap subMap(java.lang.Object aFromKey, java.lang.Object aToKey)
           
 java.util.SortedMap tailMap(java.lang.Object aFromKey)
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, putAll, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsValue, equals, hashCode, keySet, putAll, size, values
 

Constructor Detail

TransSortedIndex

public TransSortedIndex(java.util.SortedMap aTransBuffer,
                        java.util.SortedMap aIndex)

TransSortedIndex

public TransSortedIndex(java.util.SortedMap aTransBuffer,
                        java.util.SortedMap aIndex,
                        java.lang.Object aFromKey,
                        java.lang.Object aToKey)
Method Detail

get

public java.lang.Object get(java.lang.Object anID)
Specified by:
get in interface java.util.Map
Overrides:
get in class TransIndex

put

public java.lang.Object put(java.lang.Object anID,
                            java.lang.Object anObj)
Specified by:
put in interface java.util.Map
Overrides:
put in class TransIndex

remove

public java.lang.Object remove(java.lang.Object anID)
Specified by:
remove in interface java.util.Map
Overrides:
remove in class TransIndex

containsKey

public boolean containsKey(java.lang.Object aKey)
Specified by:
containsKey in interface java.util.Map
Overrides:
containsKey in class java.util.AbstractMap

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map
Overrides:
isEmpty in class TransIndex

comparator

public java.util.Comparator comparator()
Specified by:
comparator in interface java.util.SortedMap

subMap

public java.util.SortedMap subMap(java.lang.Object aFromKey,
                                  java.lang.Object aToKey)
Specified by:
subMap in interface java.util.SortedMap

headMap

public java.util.SortedMap headMap(java.lang.Object aToKey)
Specified by:
headMap in interface java.util.SortedMap

tailMap

public java.util.SortedMap tailMap(java.lang.Object aFromKey)
Specified by:
tailMap in interface java.util.SortedMap

firstKey

public java.lang.Object firstKey()
Specified by:
firstKey in interface java.util.SortedMap

lastKey

public java.lang.Object lastKey()
Specified by:
lastKey in interface java.util.SortedMap

entrySet

public java.util.Set entrySet()
Specified by:
entrySet in interface java.util.Map
Overrides:
entrySet in class TransIndex

getDeleted

public java.util.Set getDeleted()
Overrides:
getDeleted in class TransIndex

getTransBuffer

public java.util.Map getTransBuffer()
Overrides:
getTransBuffer in class TransIndex