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
Modifier and Type Method Description <T> ImmutableSet<T>empty()<T> ImmutableSet<T>of()Same asImmutableSetFactory.empty().<T> ImmutableSet<T>of(T one)Same asImmutableSetFactory.with(Object).<T> ImmutableSet<T>of(T... items)Same asImmutableSetFactory.with(Object[]).<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()Same asImmutableSetFactory.empty().<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, waitMethods inherited from interface org.eclipse.collections.api.factory.set.ImmutableSetFactory
fromStream
-
Field Details
-
Constructor Details
-
ImmutableSetFactoryImpl
public ImmutableSetFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactorySame asImmutableSetFactory.empty().- Specified by:
ofin interfaceImmutableSetFactory
-
with
Description copied from interface:ImmutableSetFactorySame asImmutableSetFactory.empty().- Specified by:
within interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactorySame asImmutableSetFactory.with(Object).- Specified by:
ofin interfaceImmutableSetFactory
-
with
- Specified by:
within interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory- Specified by:
ofin interfaceImmutableSetFactory
-
with
- Specified by:
within interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory- Specified by:
ofin interfaceImmutableSetFactory
-
with
- Specified by:
within interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory- Specified by:
ofin interfaceImmutableSetFactory
-
with
- Specified by:
within interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactorySame asImmutableSetFactory.with(Object[]).- Specified by:
ofin interfaceImmutableSetFactory
-
with
- Specified by:
within interfaceImmutableSetFactory
-
ofAll
Description copied from interface:ImmutableSetFactory- Specified by:
ofAllin interfaceImmutableSetFactory
-
withAll
- Specified by:
withAllin interfaceImmutableSetFactory
-