Interface NodeStateEntryList
-
- All Known Implementing Classes:
FlatFileBufferLinkedList,PersistedLinkedList,PersistedLinkedListV2
public interface NodeStateEntryList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(@NotNull NodeStateEntry item)Add an item at the tail of the list.voidclose()longestimatedMemoryUsage()booleanisEmpty()Iterator<NodeStateEntry>iterator()Get an iterator to iterate over the whole listNodeStateEntryremove()Remove the first item from the list.intsize()
-
-
-
Method Detail
-
add
void add(@NotNull @NotNull NodeStateEntry item)Add an item at the tail of the list.
-
remove
NodeStateEntry remove()
Remove the first item from the list.- Returns:
- the removed item
-
estimatedMemoryUsage
long estimatedMemoryUsage()
-
size
int size()
-
iterator
Iterator<NodeStateEntry> iterator()
Get an iterator to iterate over the whole list
-
isEmpty
boolean isEmpty()
-
close
void close()
-
-