public interface EntryList extends List<Entry>
Modifier and Type | Interface and Description |
---|---|
static class |
EntryList.EmptyList |
Modifier and Type | Field and Description |
---|---|
static EntryList.EmptyList |
EMPTY_LIST |
Modifier and Type | Method and Description |
---|---|
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() . |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
static final EntryList.EmptyList EMPTY_LIST
Iterator<Entry> reuseIterator()
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.int getByteSize()
Copyright © 2012–2024. All rights reserved.