public final class Maps extends Object
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");
Immutable Examples:
ImmutableMap<String, String> emptyMap = Maps.immutable.empty();
ImmutableMap<String, String> mapWith = Maps.immutable.with("a", "A", "b", "B", "c", "C");
ImmutableMap<String, String> mapOf = Maps.immutable.of("a", "A", "b", "B", "c", "C");
FixedSize Examples:
FixedSizeMap<String, String> emptyMap = Maps.fixedSize.empty();
FixedSizeMap<String, String> mapWith = Maps.fixedSize.with("a", "A", "b", "B", "c", "C");
FixedSizeMap<String, String> mapOf = Maps.fixedSize.of("a", "A", "b", "B", "c", "C");
public static final ImmutableMapFactory immutable
public static final FixedSizeMapFactory fixedSize
public static final MutableMapFactory mutable
Copyright © 2004–2019. All rights reserved.