Package org.apache.hadoop.hbase.util
Class ConcatenatedLists<T>
java.lang.Object
java.util.AbstractCollection<T>
org.apache.hadoop.hbase.util.ConcatenatedLists<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>
- Direct Known Subclasses:
StripeStoreFileManager.KeyBeforeConcatenatedLists
A collection class that contains multiple sub-lists, which allows us to not copy lists. This
class does not support modification. The derived classes that add modifications are not
thread-safe. NOTE: Doesn't implement list as it is not necessary for current usage, feel free to
add.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
components
-
size
-
-
Constructor Details
-
ConcatenatedLists
public ConcatenatedLists()
-
-
Method Details
-
addAllSublists
-
addSublist
-
size
- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein classAbstractCollection<T>
-
iterator
- Specified by:
iteratorin interfaceCollection<T>- Specified by:
iteratorin interfaceIterable<T>- Specified by:
iteratorin classAbstractCollection<T>
-