Class ImmutableBagFactoryImpl
java.lang.Object
org.eclipse.collections.impl.bag.immutable.ImmutableBagFactoryImpl
- All Implemented Interfaces:
ImmutableBagFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ImmutableBag<T>empty()<T> ImmutableBag<T>of()<T> ImmutableBag<T>of(T element) <T> ImmutableBag<T>of(T... elements) <T> ImmutableBag<T><T> ImmutableBag<T>with()<T> ImmutableBag<T>with(T element) <T> ImmutableBag<T>with(T... elements) <T> ImmutableBag<T>Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.factory.bag.ImmutableBagFactory
fromStream, ofOccurrences, ofOccurrences, ofOccurrences, ofOccurrences, ofOccurrences, withOccurrences, withOccurrences, withOccurrences, withOccurrences, withOccurrences
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableBagFactoryImpl
public ImmutableBagFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableBagFactory
-
of
- Specified by:
ofin interfaceImmutableBagFactory
-
with
- Specified by:
within interfaceImmutableBagFactory
-
of
- Specified by:
ofin interfaceImmutableBagFactory
-
with
- Specified by:
within interfaceImmutableBagFactory
-
of
- Specified by:
ofin interfaceImmutableBagFactory
-
with
- Specified by:
within interfaceImmutableBagFactory
-
ofAll
- Specified by:
ofAllin interfaceImmutableBagFactory
-
withAll
- Specified by:
withAllin interfaceImmutableBagFactory
-