T - element typepublic class IntrusiveList<T extends IntrusiveListElem<T>> extends IntrusiveListElemImpl<T> implements Iterable<T>
next| Constructor and Description |
|---|
IntrusiveList() |
| Modifier and Type | Method and Description |
|---|---|
T |
choose()
Retrieves any block from the list.
|
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
size() |
getNextElement, setNextElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@EnsuresNonNullIf(expression="next",
result=false)
public boolean isEmpty()
public T choose()
null is returned.null if the list is empty.public int size()
Copyright © 2020. All rights reserved.