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 ImmutableSetFactory
INSTANCE
-
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, wait
Methods inherited from interface org.eclipse.collections.api.factory.set.ImmutableSetFactory
fromStream
-
Field Details
-
Constructor Details
-
ImmutableSetFactoryImpl
public ImmutableSetFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory
Same asImmutableSetFactory.empty()
.- Specified by:
of
in interfaceImmutableSetFactory
-
with
Description copied from interface:ImmutableSetFactory
Same asImmutableSetFactory.empty()
.- Specified by:
with
in interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory
Same asImmutableSetFactory.with(Object)
.- Specified by:
of
in interfaceImmutableSetFactory
-
with
- Specified by:
with
in interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory
- Specified by:
of
in interfaceImmutableSetFactory
-
with
- Specified by:
with
in interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory
- Specified by:
of
in interfaceImmutableSetFactory
-
with
- Specified by:
with
in interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory
- Specified by:
of
in interfaceImmutableSetFactory
-
with
- Specified by:
with
in interfaceImmutableSetFactory
-
of
Description copied from interface:ImmutableSetFactory
Same asImmutableSetFactory.with(Object[])
.- Specified by:
of
in interfaceImmutableSetFactory
-
with
- Specified by:
with
in interfaceImmutableSetFactory
-
ofAll
Description copied from interface:ImmutableSetFactory
- Specified by:
ofAll
in interfaceImmutableSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableSetFactory
-