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 privateKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()java.util.Comparator<? super K>comparator()booleancontains(java.lang.Object k)Kfirst()java.util.SortedSet<K>headSet(K to)java.util.Iterator<K>iterator()java.util.Iterator<K>iterator(K from)Klast()booleanremove(java.lang.Object k)intsize()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:
comparatorin interfacejava.util.SortedSet<K>
-
tailSet
public final java.util.SortedSet<K> tailSet(K from)
- Specified by:
tailSetin interfacejava.util.SortedSet<K>
-
headSet
public final java.util.SortedSet<K> headSet(K to)
- Specified by:
headSetin interfacejava.util.SortedSet<K>
-
-