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() |
getNextElement, setNextElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean isEmpty()
public T choose()
null
is returned.null
if the list is empty.Copyright © 2018. All rights reserved.