QueueCursor
instead@Deprecated public class QueueCursor<E> extends QueueCursor<E>
QueueIteration.done()
and QueueIteration.toss(Exception)
and
automatically converting the exception into a QueryEvaluationException with an appropriate stack trace.Constructor and Description |
---|
QueueCursor(int capacity)
Deprecated.
Creates an QueueCursor with the given (fixed) capacity and default access policy.
|
QueueCursor(int capacity,
boolean fair)
Deprecated.
Creates an QueueCursor with the given (fixed) capacity and the specified access policy.
|
convert
checkException, done, getNextElement, handleClose, put, toss
hasNext, next, remove
close, isClosed
public QueueCursor(int capacity)
capacity
- the capacity of this queuepublic QueueCursor(int capacity, boolean fair)
capacity
- the capacity of this queuefair
- if true then queue accesses for threads blocked on insertion or removal, are processed
in FIFO order; if false the access order is unspecified.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.