Package org.apache.hadoop.hbase.types
Class CopyOnWriteArrayMap.ArrayKeySet<K,V>
java.lang.Object
org.apache.hadoop.hbase.types.CopyOnWriteArrayMap.ArrayKeySet<K,V>
- All Implemented Interfaces:
Iterable<K>,Collection<K>,NavigableSet<K>,Set<K>,SortedSet<K>
- Enclosing class:
- CopyOnWriteArrayMap<K,
V>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends K> c) voidclear()Comparator<? super K>booleanbooleancontainsAll(Collection<?> c) first()booleanisEmpty()iterator()last()pollLast()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.SortedSet
spliterator
-
Field Details
-
holder
-
-
Constructor Details
-
ArrayKeySet
-
-
Method Details
-
size
-
isEmpty
-
contains
-
lower
- Specified by:
lowerin interfaceNavigableSet<K>
-
floor
- Specified by:
floorin interfaceNavigableSet<K>
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<K>
-
higher
- Specified by:
higherin interfaceNavigableSet<K>
-
pollFirst
- Specified by:
pollFirstin interfaceNavigableSet<K>
-
pollLast
- Specified by:
pollLastin interfaceNavigableSet<K>
-
iterator
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<K>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<K>
-
subSet
public NavigableSet<K> subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<K>
-
headSet
- Specified by:
headSetin interfaceNavigableSet<K>
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<K>
-
comparator
- Specified by:
comparatorin interfaceSortedSet<K>
-
subSet
-
headSet
-
tailSet
-
first
-
last
-
toArray
-
toArray
-
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceSet<K>
-
addAll
-
retainAll
-
removeAll
-
clear
-