EntryList.EmptyListmodCountEMPTY_LIST| Constructor and Description |
|---|
EmptyList() |
| Modifier and Type | Method and Description |
|---|---|
Entry |
get(int index) |
int |
getByteSize()
Returns the total amount of bytes this entry consumes on the heap - including all object headers.
|
Iterator<Entry> |
reuseIterator()
Returns the same iterator as
List.iterator() with the only difference
that it reuses Entry objects when calling Iterator.next(). |
int |
size() |
add, 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 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 int getByteSize()
EntryListgetByteSize in interface EntryListCopyright © 2012–2015. All rights reserved.