Package org.apache.felix.resolver.util
Class OpenHashMap.KeySet
- java.lang.Object
-
- java.util.AbstractCollection<K>
-
- org.apache.felix.resolver.util.OpenHashMap.AbstractObjectCollection<K>
-
- org.apache.felix.resolver.util.OpenHashMap.AbstractObjectSet<K>
-
- org.apache.felix.resolver.util.OpenHashMap.KeySet
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
,java.util.SortedSet<K>
- Enclosing class:
- OpenHashMap<K,V>
private final class OpenHashMap.KeySet extends OpenHashMap.AbstractObjectSet<K> implements java.util.SortedSet<K>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
KeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
java.util.Comparator<? super K>
comparator()
boolean
contains(java.lang.Object k)
K
first()
java.util.SortedSet<K>
headSet(K to)
java.util.Iterator<K>
iterator()
java.util.Iterator<K>
iterator(K from)
K
last()
boolean
remove(java.lang.Object k)
int
size()
java.util.SortedSet<K>
subSet(K from, K to)
java.util.SortedSet<K>
tailSet(K from)
-
Methods inherited from class org.apache.felix.resolver.util.OpenHashMap.AbstractObjectSet
equals, hashCode
-
Methods inherited from class org.apache.felix.resolver.util.OpenHashMap.AbstractObjectCollection
add, addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
iterator
public java.util.Iterator<K> iterator()
-
size
public int size()
-
contains
public boolean contains(java.lang.Object k)
-
remove
public boolean remove(java.lang.Object k)
-
clear
public void clear()
-
comparator
public java.util.Comparator<? super K> comparator()
- Specified by:
comparator
in interfacejava.util.SortedSet<K>
-
tailSet
public final java.util.SortedSet<K> tailSet(K from)
- Specified by:
tailSet
in interfacejava.util.SortedSet<K>
-
headSet
public final java.util.SortedSet<K> headSet(K to)
- Specified by:
headSet
in interfacejava.util.SortedSet<K>
-
-