Class ConstSet<T>
java.lang.Object
com.ticxo.modelengine.api.utils.data.ConstSet<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(@NotNull Collection<? extends T> collection) voidclear()booleanbooleancontainsAll(@NotNull Collection<?> collection) fromHash(int hash) booleanisEmpty()iterator()booleanbooleanremoveAll(@NotNull Collection<?> collection) booleanretainAll(@NotNull Collection<?> collection) intsize()@NotNull Object[]toArray()<T1> @NotNull T1[]toArray(@NotNull T1[] t1s) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
ConstSet
public ConstSet()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
@NotNull public <T1> @NotNull T1[] toArray(@NotNull @NotNull T1[] t1s) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceSet<T>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
fromHash
-
toString
-