private class PatriciaTrie.PrefixSubMap extends PatriciaTrie.SubMap
| Modifier and Type | Class and Description |
|---|---|
private class |
PatriciaTrie.PrefixSubMap.PrefixEntrySetView |
PatriciaTrie.SubMap.EntrySetViewAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
private int |
keyModCount |
protected int |
length |
protected int |
offset |
protected K |
prefix |
protected int |
size |
fromInclusive, fromKey, toInclusive, toKey| Constructor and Description |
|---|
PatriciaTrie.PrefixSubMap(K prefix,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
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() |
comparator, containsKey, entrySet, get, headMap, isEmpty, put, remove, subMap, tailMapclear, clone, containsValue, equals, hashCode, keySet, putAll, size, toString, valuesprotected final int offset
protected final int length
private transient int keyModCount
protected int size
PatriciaTrie.PrefixSubMap(K prefix, int offset, int length)
protected boolean inRange(K key)
inRange in class PatriciaTrie.SubMapprotected boolean inRange2(K key)
inRange2 in class PatriciaTrie.SubMapprotected boolean inToRange(K key, boolean forceInclusive)
inToRange in class PatriciaTrie.SubMapprotected 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