Package org.cactoos.set
Class SetOf<T>
- java.lang.Object
-
- org.cactoos.iterable.IterableEnvelope<X>
-
- org.cactoos.collection.CollectionEnvelope<T>
-
- org.cactoos.set.SetEnvelope<T>
-
- org.cactoos.set.SetOf<T>
-
- Type Parameters:
T
- Set type
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,Set<T>
public final class SetOf<T> extends SetEnvelope<T>
- Since:
- 0.49.2
-
-
Method Summary
-
Methods inherited from class org.cactoos.collection.CollectionEnvelope
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class org.cactoos.iterable.IterableEnvelope
equals, hashCode, iterator, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Constructor Detail
-
SetOf
@SafeVarargs public SetOf(T... array)
Ctor.- Parameters:
array
- An array of some elements
-
-