Class ImmutableSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.ImmutableSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableSetFactory
public class ImmutableSetFactoryImpl extends Object implements ImmutableSetFactory
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ImmutableSet<T>empty()<T> ImmutableSet<T>of()<T> ImmutableSet<T>of(T one)<T> ImmutableSet<T>of(T... items)<T> ImmutableSet<T>of(T one, T two)<T> ImmutableSet<T>of(T one, T two, T three)<T> ImmutableSet<T>of(T one, T two, T three, T four)<T> ImmutableSet<T>ofAll(Iterable<? extends T> items)<T> ImmutableSet<T>with()<T> ImmutableSet<T>with(T one)<T> ImmutableSet<T>with(T... items)<T> ImmutableSet<T>with(T one, T two)<T> ImmutableSet<T>with(T one, T two, T three)<T> ImmutableSet<T>with(T one, T two, T three, T four)<T> ImmutableSet<T>withAll(Iterable<? extends T> items)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.set.ImmutableSetFactory
fromStream
-
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableSetFactory INSTANCE
-
-
Method Detail
-
empty
public <T> ImmutableSet<T> empty()
- Specified by:
emptyin interfaceImmutableSetFactory
-
of
public <T> ImmutableSet<T> of()
- Specified by:
ofin interfaceImmutableSetFactory
-
with
public <T> ImmutableSet<T> with()
- Specified by:
within interfaceImmutableSetFactory
-
of
public <T> ImmutableSet<T> of(T one)
- Specified by:
ofin interfaceImmutableSetFactory
-
with
public <T> ImmutableSet<T> with(T one)
- Specified by:
within interfaceImmutableSetFactory
-
of
public <T> ImmutableSet<T> of(T one, T two)
- Specified by:
ofin interfaceImmutableSetFactory
-
with
public <T> ImmutableSet<T> with(T one, T two)
- Specified by:
within interfaceImmutableSetFactory
-
of
public <T> ImmutableSet<T> of(T one, T two, T three)
- Specified by:
ofin interfaceImmutableSetFactory
-
with
public <T> ImmutableSet<T> with(T one, T two, T three)
- Specified by:
within interfaceImmutableSetFactory
-
of
public <T> ImmutableSet<T> of(T one, T two, T three, T four)
- Specified by:
ofin interfaceImmutableSetFactory
-
with
public <T> ImmutableSet<T> with(T one, T two, T three, T four)
- Specified by:
within interfaceImmutableSetFactory
-
of
public <T> ImmutableSet<T> of(T... items)
- Specified by:
ofin interfaceImmutableSetFactory
-
with
public <T> ImmutableSet<T> with(T... items)
- Specified by:
within interfaceImmutableSetFactory
-
ofAll
public <T> ImmutableSet<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAllin interfaceImmutableSetFactory
-
withAll
public <T> ImmutableSet<T> withAll(Iterable<? extends T> items)
- Specified by:
withAllin interfaceImmutableSetFactory
-
-