public class NDefaultObservableSet<V> extends AbstractSet<V> implements NObservableSet<V>
| Constructor and Description |
|---|
NDefaultObservableSet() |
NDefaultObservableSet(Set<V> base) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V v) |
void |
addSetListener(NObservableSetListener<V> listener) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
List<NObservableSetListener<V>> |
listeners() |
boolean |
remove(Object o) |
void |
removeSetListener(NObservableSetListener<V> listener) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
removeAlladdAll, clear, retainAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, streampublic void addSetListener(NObservableSetListener<V> listener)
addSetListener in interface NObservableSet<V>public void removeSetListener(NObservableSetListener<V> listener)
removeSetListener in interface NObservableSet<V>public boolean add(V v)
add in interface Collection<V>add in interface Set<V>add in class AbstractCollection<V>public boolean remove(Object o)
remove in interface Collection<V>remove in interface Set<V>remove in class AbstractCollection<V>public boolean equals(Object o)
equals in interface Collection<V>equals in interface Set<V>equals in class AbstractSet<V>public int hashCode()
hashCode in interface Collection<V>hashCode in interface Set<V>hashCode in class AbstractSet<V>public List<NObservableSetListener<V>> listeners()
listeners in interface NObservableSet<V>public int size()
size in interface Collection<V>size in interface Set<V>size in class AbstractCollection<V>public boolean isEmpty()
isEmpty in interface Collection<V>isEmpty in interface Set<V>isEmpty in class AbstractCollection<V>public boolean contains(Object o)
contains in interface Collection<V>contains in interface Set<V>contains in class AbstractCollection<V>public Object[] toArray()
toArray in interface Collection<V>toArray in interface Set<V>toArray in class AbstractCollection<V>public <T> T[] toArray(T[] a)
toArray in interface Collection<V>toArray in interface Set<V>toArray in class AbstractCollection<V>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>containsAll in interface Set<V>containsAll in class AbstractCollection<V>public String toString()
toString in class AbstractCollection<V>Copyright © 2026 vpc open source initiative. All rights reserved.