Class AbstractPatriciaTrie.PrefixRangeEntrySet
java.lang.Object
java.util.AbstractCollection<Map.Entry<K,V>>
java.util.AbstractSet<Map.Entry<K,V>>
AbstractPatriciaTrie<K,V>.org.apache.commons.collections4.trie.AbstractPatriciaTrie.RangeEntrySet
org.apache.commons.collections4.trie.AbstractPatriciaTrie.PrefixRangeEntrySet
- All Implemented Interfaces:
Iterable<Map.Entry<K,
,V>> Collection<Map.Entry<K,
,V>> Set<Map.Entry<K,
V>>
- Enclosing class:
AbstractPatriciaTrie<K,
V>
private final class AbstractPatriciaTrie.PrefixRangeEntrySet
extends AbstractPatriciaTrie<K,V>.RangeEntrySet
A prefix
.
AbstractPatriciaTrie<K,V>.RangeEntrySet
view of the
invalid reference
Trie
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final class
AnIterator
for iterating over a prefix search.private final class
AnIterator
that holds a singleAbstractPatriciaTrie.TrieEntry
. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractPatriciaTrie<K,
V>.PrefixRangeMap private int
private AbstractPatriciaTrie.TrieEntry
<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionPrefixRangeEntrySet
(AbstractPatriciaTrie<K, V>.PrefixRangeMap delegate) Creates aAbstractPatriciaTrie<K,
.V>.PrefixRangeEntrySet -
Method Summary
Methods inherited from class org.apache.commons.collections4.trie.AbstractPatriciaTrie.RangeEntrySet
contains, isEmpty, remove
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, retainAll, spliterator, toArray, toArray
-
Field Details
-
delegate
-
prefixStart
-
expectedModCount
private int expectedModCount
-
-
Constructor Details
-
PrefixRangeEntrySet
Creates aAbstractPatriciaTrie<K,
.V>.PrefixRangeEntrySet
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<Map.Entry<K,
V>> - Specified by:
size
in interfaceSet<Map.Entry<K,
V>> - Overrides:
size
in classAbstractPatriciaTrie<K,
V>.RangeEntrySet
-
iterator
-