- Enclosing class:
MultiviewSet<T>
public final class MultiviewSet.PrioritisedView
extends Object
-
Method Summary
boolean
void
The entry is also added to the common
Set and therefore to all views backed by it.
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
isEmpty
public boolean isEmpty()
-
offer
public void offer(T entry)
The entry is also added to the common
Set and therefore to all views backed by it.
-
poll
- Returns:
- The highest priority item (that also existed in the backing
Set)
-