Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for ForwardingMap (0.08 seconds)

  1. 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>() {
          @Override
    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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
Back to Top