private static class FXCollections.EmptyObservableSet<E> extends java.util.AbstractSet<E> implements ObservableSet<E>
Constructor and Description |
---|
EmptyObservableSet() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(InvalidationListener listener)
Add a listener to this observable set.
|
boolean |
contains(java.lang.Object obj) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
void |
removeListener(InvalidationListener listener)
Tries to removed a listener from this observable set.
|
int |
size() |
java.lang.Object[] |
toArray() |
<E> E[] |
toArray(E[] a) |
add, addAll, clear, remove, retainAll, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public void addListener(InvalidationListener listener)
ObservableSet
addListener
in interface ObservableSet<E>
listener
- the listener for listening to the set changespublic void removeListener(InvalidationListener listener)
ObservableSet
removeListener
in interface ObservableSet<E>
listener
- a listener to removepublic int size()
public boolean isEmpty()
public boolean contains(java.lang.Object obj)
public boolean containsAll(java.util.Collection<?> c)
public java.lang.Object[] toArray()
public <E> E[] toArray(E[] a)