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 classAnIteratorfor iterating over a prefix search.private final classAnIteratorthat holds a singleAbstractPatriciaTrie.TrieEntry. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractPatriciaTrie<K,V>.PrefixRangeMap private intprivate 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, removeMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, streamMethods 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:
sizein interfaceCollection<Map.Entry<K,V>> - Specified by:
sizein interfaceSet<Map.Entry<K,V>> - Overrides:
sizein classAbstractPatriciaTrie<K,V>.RangeEntrySet
-
iterator
-