- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for ForwardingMap (0.08 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
StandardImplForwardingMap<String, String> forwardingMap = new StandardImplForwardingMap<>(new HashMap<>()); forwardingMap.put("foo", "bar"); forwardingMap.put("baz", null); assertThat(forwardingMap.toString()).isEqualTo(hashmap.toString()); } private static <K, V> Map<K, V> wrap(Map<K, V> delegate) { return new ForwardingMap<K, V>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex); this.delegate = delegate;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/MutableClassToInstanceMap.java
*/ @J2ktIncompatible @GwtIncompatible @SuppressWarnings("serial") // using writeReplace instead of standard serialization public final class MutableClassToInstanceMap<B extends @Nullable Object> extends ForwardingMap<Class<? extends @NonNull B>, B> implements ClassToInstanceMap<B>, Serializable { /** * Returns a new {@code MutableClassToInstanceMap} instance backed by a {@link HashMap} using theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex); this.delegate = delegate;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
// to a superclass. public MapsTransformValuesUnmodifiableIteratorTest() { super(true, true, false /*supportsPut*/, true, true, false); } private static class UnmodifiableIteratorMap<K, V> extends ForwardingMap<K, V> { final Map<K, V> delegate; UnmodifiableIteratorMap(Map<K, V> delegate) { this.delegate = delegate; } @Override protected Map<K, V> delegate() { return delegate;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
// to a superclass. public MapsTransformValuesUnmodifiableIteratorTest() { super(true, true, false /*supportsPut*/, true, true, false); } private static class UnmodifiableIteratorMap<K, V> extends ForwardingMap<K, V> { final Map<K, V> delegate; UnmodifiableIteratorMap(Map<K, V> delegate) { this.delegate = delegate; } @Override protected Map<K, V> delegate() { return delegate;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
} /** * @see Maps#unmodifiableBiMap(BiMap) */ private static final class UnmodifiableBiMap< K extends @Nullable Object, V extends @Nullable Object> extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable { final Map<K, V> unmodifiableMap; final BiMap<? extends K, ? extends V> delegate; @LazyInit @RetainedWith @Nullable BiMap<V, K> inverse;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
} /** * @see Maps#unmodifiableBiMap(BiMap) */ private static final class UnmodifiableBiMap< K extends @Nullable Object, V extends @Nullable Object> extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable { final Map<K, V> unmodifiableMap; final BiMap<? extends K, ? extends V> delegate; @LazyInit @RetainedWith @Nullable BiMap<V, K> inverse;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0)