info.rolandkrueger.roklib.util
Class TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive

java.lang.Object
  extended by java.util.AbstractMap<CharSequence,V>
      extended by info.rolandkrueger.roklib.util.TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive
All Implemented Interfaces:
Serializable, Map<CharSequence,V>, SortedMap<CharSequence,V>
Enclosing class:
TernarySearchTreeMapCaseInsensitive<V>

private class TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive
extends AbstractMap<CharSequence,V>
implements SortedMap<CharSequence,V>, Serializable


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
private  CharSequence mExclusiveToKey
           
private  CharSequence mFromKey
           
private  SortedMap<CharSequence,Map.Entry<CharSequence,V>> mSubMap
           
private static long serialVersionUID
           
 
Constructor Summary
TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive()
           
TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive(CharSequence fromKey, CharSequence toKey)
           
 
Method Summary
 Comparator<? super CharSequence> comparator()
           
 boolean containsKey(Object key)
           
 Set<Map.Entry<CharSequence,V>> entrySet()
           
 CharSequence firstKey()
           
 SortedMap<CharSequence,V> headMap(CharSequence toKey)
           
 CharSequence lastKey()
           
 V put(CharSequence key, V value)
           
 SortedMap<CharSequence,V> subMap(CharSequence fromKey, CharSequence toKey)
           
 SortedMap<CharSequence,V> tailMap(CharSequence fromKey)
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.SortedMap
keySet, values
 
Methods inherited from interface java.util.Map
clear, containsValue, equals, get, hashCode, isEmpty, putAll, remove, size
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mSubMap

private SortedMap<CharSequence,Map.Entry<CharSequence,V>> mSubMap

mFromKey

private CharSequence mFromKey

mExclusiveToKey

private CharSequence mExclusiveToKey
Constructor Detail

TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive

public TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive()

TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive

public TernarySearchTreeMapCaseInsensitive.TSTSubMapCaseInsensitive(CharSequence fromKey,
                                                                    CharSequence toKey)
Method Detail

comparator

public Comparator<? super CharSequence> comparator()
Specified by:
comparator in interface SortedMap<CharSequence,V>

put

public V put(CharSequence key,
             V value)
Specified by:
put in interface Map<CharSequence,V>
Overrides:
put in class AbstractMap<CharSequence,V>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<CharSequence,V>
Overrides:
containsKey in class AbstractMap<CharSequence,V>

subMap

public SortedMap<CharSequence,V> subMap(CharSequence fromKey,
                                        CharSequence toKey)
Specified by:
subMap in interface SortedMap<CharSequence,V>

headMap

public SortedMap<CharSequence,V> headMap(CharSequence toKey)
Specified by:
headMap in interface SortedMap<CharSequence,V>

tailMap

public SortedMap<CharSequence,V> tailMap(CharSequence fromKey)
Specified by:
tailMap in interface SortedMap<CharSequence,V>

firstKey

public CharSequence firstKey()
Specified by:
firstKey in interface SortedMap<CharSequence,V>

lastKey

public CharSequence lastKey()
Specified by:
lastKey in interface SortedMap<CharSequence,V>

entrySet

public Set<Map.Entry<CharSequence,V>> entrySet()
Specified by:
entrySet in interface Map<CharSequence,V>
Specified by:
entrySet in interface SortedMap<CharSequence,V>
Specified by:
entrySet in class AbstractMap<CharSequence,V>


Copyright © 2007-2011. All Rights Reserved.