public class StaticArrayEntryList extends AbstractList<Entry> implements EntryList
| Modifier and Type | Class and Description |
|---|---|
static interface |
StaticArrayEntryList.MetaDataSerializer<V> |
EntryList.EmptyListmodCountEMPTY_LISTadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic 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()
EntryListgetByteSize in interface EntryListpublic Iterator<Entry> reuseIterator()
EntryListList.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 accesed until the next Iterator.next() call.reuseIterator in interface EntryListpublic static final <E> EntryList ofBytes(Iterable<E> elements, StaticArrayEntry.GetColVal<E,byte[]> getter)
public static final <E> EntryList ofByteBuffer(Iterable<E> elements, StaticArrayEntry.GetColVal<E,ByteBuffer> getter)
public static final <E> EntryList ofStaticBuffer(Iterable<E> elements, StaticArrayEntry.GetColVal<E,StaticBuffer> getter)
public static final <E> EntryList ofByteBuffer(Iterator<E> elements, StaticArrayEntry.GetColVal<E,ByteBuffer> getter)
public static final <E> EntryList ofStaticBuffer(Iterator<E> elements, StaticArrayEntry.GetColVal<E,StaticBuffer> getter)
public static StaticArrayEntryList.MetaDataSerializer getSerializer(EntryMetaData meta)
Copyright © 2012–2015. All rights reserved.