public class StaticArrayEntryList extends AbstractList<Entry> implements EntryList
Modifier and Type | Class and Description |
---|---|
static interface |
StaticArrayEntryList.MetaDataSerializer<V> |
EntryList.EmptyList
modCount
EMPTY_LIST
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public Entry get(int index)
public int size()
size
in interface Collection<Entry>
size
in interface List<Entry>
size
in class AbstractCollection<Entry>
public int getByteSize()
EntryList
getByteSize
in interface EntryList
public Iterator<Entry> reuseIterator()
EntryList
List.iterator()
with the only difference
that it reuses Entry
objects when calling Iterator.next()
.
Hence, this method should only be used if references to Entry
objects are only
kept and accessed until the next Iterator.next()
call.reuseIterator
in interface EntryList
public static <E> EntryList ofBytes(Iterable<E> elements, StaticArrayEntry.GetColVal<E,byte[]> getter)
public static <E> EntryList ofByteBuffer(Iterable<E> elements, StaticArrayEntry.GetColVal<E,ByteBuffer> getter)
public static <E> EntryList ofStaticBuffer(Iterable<E> elements, StaticArrayEntry.GetColVal<E,StaticBuffer> getter)
public static <E> EntryList ofByteBuffer(Iterator<E> elements, StaticArrayEntry.GetColVal<E,ByteBuffer> getter)
public static <E> EntryList ofStaticBuffer(Iterator<E> elements, StaticArrayEntry.GetColVal<E,StaticBuffer> getter)
public static EntryListComputationContext generateComputationContext()
public static <E> void supplyEntryList(ChunkedJobDefinition<Iterator<E>,EntryListComputationContext,EntryList> chunkedJobDefinition, StaticArrayEntry.GetColVal<E,StaticBuffer> getter, ExecutorService executorService)
public static StaticArrayEntryList.MetaDataSerializer getSerializer(EntryMetaData meta)
Copyright © 2012–2024. All rights reserved.