Top Description Classes
module org.eclipse.collections.impl

Package org.eclipse.collections.impl.factory


This package contains static utilities for creating mutable and immutable collection factories.
See Also
{@link org.eclipse.collections.impl.factory.Lists} for creating Lists, {@link org.eclipse.collections.impl.factory.Sets} for creating Sets, {@link org.eclipse.collections.impl.factory.SortedSets} for creating SortedSets, {@link org.eclipse.collections.impl.factory.Bags} for creating Bags, {@link org.eclipse.collections.impl.factory.Stacks} for creating Stacks, {@link org.eclipse.collections.impl.factory.Maps} for creating Maps, {@link org.eclipse.collections.impl.factory.SortedMaps} for creating SortedMaps, {@link org.eclipse.collections.impl.factory.BiMaps} for creating BiMaps, {@link org.eclipse.collections.impl.factory.Multimaps} for creating Multimaps, {@link org.eclipse.collections.impl.factory.HashingStrategySets} for creating Sets with HashingStrategy, {@link org.eclipse.collections.impl.factory.HashingStrategyMaps} for creating Maps with HashingStrategy, {@link org.eclipse.collections.impl.factory.Iterables} for static import friendly shortcuts for creating Lists, Sets, Bags and Maps

Class Summary

Modifier and TypeClass and Description
public class
Bags

This class should be used to create instances of MutableBag and ImmutableBag

Mutable Examples:

MutableBag<String> emptyBag = Bags.mutable.empty();
MutableBag<String> bagWith = Bags.mutable.with("a", "b", "c");
MutableBag<String> bagOf = Bags.mutable.of("a", "b", "c");
public class
public class
public class
public class
public class
public class
Lists

This class should be used to create instances of MutableList, ImmutableList and FixedSizeList

Mutable Examples:

MutableList<String> emptyList = Lists.mutable.empty();
MutableList<String> listWith = Lists.mutable.with("a", "b", "c");
MutableList<String> listOf = Lists.mutable.of("a", "b", "c");
public class
Maps

This class should be used to create instances of MutableMap, ImmutableMap and FixedSizeMap

Mutable Examples:

MutableMap<String, String> emptyMap = Maps.mutable.empty();
MutableMap<String, String> mapWith = Maps.mutable.with("a", "A", "b", "B", "c", "C");
MutableMap<String, String> mapOf = Maps.mutable.of("a", "A", "b", "B", "c", "C");
public class
public class
public class
Sets

Set algebra operations are available in this class as static utility.

public class
public class
public class
public class
public class
Strings

This class can be used to create instances of CharAdapter and CodePointAdapter.