Class ObservedSet<K>
java.lang.Object
com.electronwill.nightconfig.core.utils.ObservedSet<K>
- All Implemented Interfaces:
Iterable<K>,Collection<K>,Set<K>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends K> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleaninthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanbooleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.Set
spliterator
-
Field Details
-
callback
-
-
Constructor Details
-
ObservedSet
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceSet<K>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
removeIf
- Specified by:
removeIfin interfaceCollection<K>
-
equals
-
hashCode
public int hashCode()
-