Top Fields Constructors Methods
org.eclipse.collections.impl.set.mutable

public Class MutableSetFactoryImpl

extends Object
implements MutableSetFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.set.MutableSetFactory
Annotations
@ServiceProvider:MutableSetFactory
Imports
java.util.stream.Collectors, .Stream, org.eclipse.collections.api.factory.set.MutableSetFactory, org.eclipse.collections.api.set.MutableSet

Field Summary

Modifier and TypeField and Description
public static final MutableSetFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> MutableSet<T>
public <T> MutableSet<T>
public <T> MutableSet<T>
public <T> MutableSet<T>
public <T> MutableSet<T>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final MutableSetFactory INSTANCE

Constructor Detail

MutableSetFactoryImplback to summary
public MutableSetFactoryImpl()

Method Detail

emptyback to summary
public <T> MutableSet<T> empty()

Implements org.eclipse.collections.api.factory.set.MutableSetFactory.empty.

Annotations
@Override
fromStreamback to summary
public <T> MutableSet<T> fromStream(Stream<? extends T> stream)

Implements org.eclipse.collections.api.factory.set.MutableSetFactory.fromStream.

Annotations
@Override
withback to summary
public <T> MutableSet<T> with(T... items)

Implements org.eclipse.collections.api.factory.set.MutableSetFactory.with.

Annotations
@Override
withAllback to summary
public <T> MutableSet<T> withAll(Iterable<? extends T> items)

Implements org.eclipse.collections.api.factory.set.MutableSetFactory.withAll.

Annotations
@Override
withInitialCapacityback to summary
public <T> MutableSet<T> withInitialCapacity(int capacity)

Implements org.eclipse.collections.api.factory.set.MutableSetFactory.withInitialCapacity.

Doc from org.eclipse.collections.api.factory.set.MutableSetFactory.withInitialCapacity.

Same as empty(). but takes in initial capacity.

Annotations
@Override