Class FixedSizeSetFactoryImpl
java.lang.Object
org.eclipse.collections.impl.set.fixed.FixedSizeSetFactoryImpl
- All Implemented Interfaces:
FixedSizeSetFactory
public class FixedSizeSetFactoryImpl extends Object implements FixedSizeSetFactory
-
Field Summary
Fields Modifier and Type Field Description static FixedSizeSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description FixedSizeSetFactoryImpl()
-
Method Summary
Modifier and Type Method Description <T> FixedSizeSet<T>
empty()
<T> MutableSet<T>
fromStream(Stream<? extends T> stream)
<T> FixedSizeSet<T>
of()
Same asFixedSizeSetFactory.empty()
.<T> FixedSizeSet<T>
of(T one)
Same asFixedSizeSetFactory.with(Object)
.<T> FixedSizeSet<T>
of(T one, T two)
<T> FixedSizeSet<T>
of(T one, T two, T three)
<T> FixedSizeSet<T>
of(T one, T two, T three, T four)
<T> MutableSet<T>
ofAll(Iterable<? extends T> items)
<T> FixedSizeSet<T>
with()
Same asFixedSizeSetFactory.empty()
.<T> FixedSizeSet<T>
with(T one)
<T> FixedSizeSet<T>
with(T one, T two)
<T> FixedSizeSet<T>
with(T one, T two, T three)
<T> FixedSizeSet<T>
with(T one, T two, T three, T four)
<T> MutableSet<T>
withAll(Iterable<? extends T> items)
-
Field Details
-
Constructor Details
-
FixedSizeSetFactoryImpl
public FixedSizeSetFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceFixedSizeSetFactory
-
of
Description copied from interface:FixedSizeSetFactory
Same asFixedSizeSetFactory.empty()
.- Specified by:
of
in interfaceFixedSizeSetFactory
-
with
Description copied from interface:FixedSizeSetFactory
Same asFixedSizeSetFactory.empty()
.- Specified by:
with
in interfaceFixedSizeSetFactory
-
of
Description copied from interface:FixedSizeSetFactory
Same asFixedSizeSetFactory.with(Object)
.- Specified by:
of
in interfaceFixedSizeSetFactory
-
with
- Specified by:
with
in interfaceFixedSizeSetFactory
-
of
Description copied from interface:FixedSizeSetFactory
- Specified by:
of
in interfaceFixedSizeSetFactory
-
with
- Specified by:
with
in interfaceFixedSizeSetFactory
-
of
Description copied from interface:FixedSizeSetFactory
- Specified by:
of
in interfaceFixedSizeSetFactory
-
with
- Specified by:
with
in interfaceFixedSizeSetFactory
-
of
Description copied from interface:FixedSizeSetFactory
- Specified by:
of
in interfaceFixedSizeSetFactory
-
with
- Specified by:
with
in interfaceFixedSizeSetFactory
-
ofAll
Description copied from interface:FixedSizeSetFactory
- Specified by:
ofAll
in interfaceFixedSizeSetFactory
-
withAll
- Specified by:
withAll
in interfaceFixedSizeSetFactory
-
fromStream
- Specified by:
fromStream
in interfaceFixedSizeSetFactory
-