- Enclosing class:
MultiviewSet<T>
public final class MultiviewSet.PrioritisedView
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
(package private) boolean
(package private) void
boolean
void
The entry is also added to the common
Set and therefore to all views backed by it.
(package private) boolean
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)
-
-
-
-