|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
edu.wisc.ssec.mcidasv.util.trie.PatriciaTrie.SubMap
edu.wisc.ssec.mcidasv.util.trie.PatriciaTrie.PrefixSubMap
private class PatriciaTrie.PrefixSubMap
A submap used for prefix views over the Trie.
| Nested Class Summary | |
|---|---|
private class |
PatriciaTrie.PrefixSubMap.PrefixEntrySetView
|
| Nested classes/interfaces inherited from class edu.wisc.ssec.mcidasv.util.trie.PatriciaTrie.SubMap |
|---|
PatriciaTrie.SubMap.EntrySetView |
| 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 int |
keyModCount
|
protected int |
length
|
protected int |
offset
|
protected K |
prefix
|
protected int |
size
|
| Fields inherited from class edu.wisc.ssec.mcidasv.util.trie.PatriciaTrie.SubMap |
|---|
fromInclusive, fromKey, toInclusive, toKey |
| Constructor Summary | |
|---|---|
PatriciaTrie.PrefixSubMap(K prefix,
int offset,
int length)
|
|
| Method Summary | |
|---|---|
K |
firstKey()
|
private void |
fixup()
|
protected boolean |
inFromRange(K key,
boolean forceInclusive)
|
protected boolean |
inRange(K key)
|
protected boolean |
inRange2(K key)
|
protected boolean |
inToRange(K key,
boolean forceInclusive)
|
K |
lastKey()
|
protected Set<Map.Entry<K,V>> |
newSubMapEntrySet()
|
| Methods inherited from class edu.wisc.ssec.mcidasv.util.trie.PatriciaTrie.SubMap |
|---|
comparator, containsKey, entrySet, get, headMap, isEmpty, put, remove, subMap, tailMap |
| 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.SortedMap |
|---|
keySet, values |
| Methods inherited from interface java.util.Map |
|---|
clear, containsValue, equals, hashCode, putAll, size |
| Field Detail |
|---|
protected final K prefix
protected final int offset
protected final int length
private transient int keyModCount
protected int size
| Constructor Detail |
|---|
PatriciaTrie.PrefixSubMap(K prefix,
int offset,
int length)
| Method Detail |
|---|
public K firstKey()
firstKey in interface SortedMap<K,V>firstKey in class PatriciaTrie.SubMappublic K lastKey()
lastKey in interface SortedMap<K,V>lastKey in class PatriciaTrie.SubMapprotected boolean inRange(K key)
inRange in class PatriciaTrie.SubMapprotected boolean inRange2(K key)
inRange2 in class PatriciaTrie.SubMap
protected boolean inToRange(K key,
boolean forceInclusive)
inToRange in class PatriciaTrie.SubMap
protected boolean inFromRange(K key,
boolean forceInclusive)
inFromRange in class PatriciaTrie.SubMapprivate void fixup()
protected Set<Map.Entry<K,V>> newSubMapEntrySet()
newSubMapEntrySet in class PatriciaTrie.SubMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||