Class AbstractPatriciaTrie.KeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<K>
-
- org.apache.commons.collections4.trie.AbstractPatriciaTrie.KeySet
-
- All Implemented Interfaces:
java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
- Enclosing class:
- AbstractPatriciaTrie<K,V>
private class AbstractPatriciaTrie.KeySet extends java.util.AbstractSet<K>
This is a key set view of theTrie
as returned byMap.keySet()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
AbstractPatriciaTrie.KeySet.KeyIterator
AnIterator
that returns Key Objects.
-
Constructor Summary
Constructors Modifier Constructor Description private
KeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
contains(java.lang.Object o)
java.util.Iterator<K>
iterator()
boolean
remove(java.lang.Object o)
int
size()
-
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
iterator
public java.util.Iterator<K> iterator()
-
size
public int size()
-
contains
public boolean contains(java.lang.Object o)
-
remove
public boolean remove(java.lang.Object o)
-
-