public static <T, U> ImmutableMap<T, U> asImmutableMap( Map<T, U> map ) { return ImmutableMapFactoryImpl.INSTANCE.ofAll( map ); }
private Object writeReplace() { return new ImmutableMapSerializationProxy<>(this); } }
@Override public int hashCode() { return this.keyAndValueHashCode(this.key1, this.value1) + this.keyAndValueHashCode(this.key2, this.value2); }
@Override public <K, V> ImmutableMap<K, V> of(K key1, V value1, K key2, V value2) { return this.with(key1, value1, key2, value2); }
@Override public int hashCode() { return this.keyAndValueHashCode(this.key1, this.value1); }
@Override public <K, V> ImmutableMap<K, V> ofAll(Map<K, V> map) { return this.withAll(map); }
@Override public ImmutableMap<K, V> tap(Procedure<? super V> procedure) { this.forEach(procedure); return this; }
@Override public <K, V> ImmutableMap<K, V> with() { return this.empty(); }
@Override public ImmutableMap<K, V> select(Predicate2<? super K, ? super V> predicate) { return this.filter(predicate); }
private Object writeReplace() { return new ImmutableMapSerializationProxy<>(this); } }
@Override public <K, V> ImmutableMap<K, V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) { return this.with(key1, value1, key2, value2, key3, value3, key4, value4); }
@Override public int hashCode() { return this.keyAndValueHashCode(this.key1, this.value1) + this.keyAndValueHashCode(this.key2, this.value2); }
@Override public int hashCode() { return this.keyAndValueHashCode(this.key1, this.value1); }
@Override public <K, V> ImmutableMap<K, V> ofAll(Map<K, V> map) { return this.withAll(map); }
private Object writeReplace() { return new ImmutableMapSerializationProxy<>(this); } }
@Override public <K, V> ImmutableMap<K, V> of(K key, V value) { return this.with(key, value); }
private Object writeReplace() { return new ImmutableMapSerializationProxy<>(this); } }
@Override public <K, V> ImmutableMap<K, V> of(K key1, V value1, K key2, V value2) { return this.with(key1, value1, key2, value2); }
private Object writeReplace() { return new ImmutableMapSerializationProxy<>(this); } }
private Object writeReplace() { return new ImmutableMapSerializationProxy<>(this); } }