Home | History | Annotate | Download | only in collect

Lines Matching full:immutablemap

35  * separate map which can still change, an instance of {@code ImmutableMap}
36 * contains its own data and will <i>never</i> change. {@code ImmutableMap} is
53 public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
61 public static <K, V> ImmutableMap<K, V> of() {
63 return (ImmutableMap) EmptyImmutableMap.INSTANCE;
73 public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
83 public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
92 public static <K, V> ImmutableMap<K, V> of(
103 public static <K, V> ImmutableMap<K, V> of(
114 public static <K, V> ImmutableMap<K, V> of(
145 * static final ImmutableMap<String, Integer> WORD_TO_INT =
146 * new ImmutableMap.Builder<String, Integer>()
152 * For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are
164 * generated by {@link ImmutableMap#builder}.
198 public ImmutableMap<K, V> build() {
202 private static <K, V> ImmutableMap<K, V> fromEntryList(
225 * {@code ImmutableMap}, no copy will actually be performed, and the given map
230 public static <K, V> ImmutableMap<K, V> copyOf(
232 if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) {
234 ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
256 ImmutableMap() {}
350 * Serialized type for all ImmutableMap instances. It captures the logical
357 SerializedForm(ImmutableMap<?, ?> map) {