PriorityQueue.Options

public static class PriorityQueue.Options

Optional attributes for PriorityQueue

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public PriorityQueue.Options capacity (Long capacity)

Parameters
capacity The upper bound on the number of elements in this queue. Negative numbers mean no limit.

public PriorityQueue.Options container (String container)

Parameters
container If non-empty, this queue is placed in the given container. Otherwise, a default container is used.

public PriorityQueue.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this queue will be shared under the given name across multiple sessions.