| Modifier and Type | Class 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 | 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 | Sets
This class should be used to create instances of MutableSet, ImmutableSet and FixedSizeSet Mutable Examples:
MutableSet<String> emptySet = Sets.mutable.empty();
MutableSet<String> setWith = Sets.mutable.with("a", "b", "c");
MutableSet<String> setOf = Sets.mutable.of("a", "b", "c");
|
| public class | |
| public class | |
| public class | |
| public class | |
| public class |