Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for ForwardingMap (0.11 sec)

  1. 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 Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
          this.delegate = delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings("serial") // using writeReplace instead of standard serialization
    @ElementTypesAreNonnullByDefault
    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 the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

     * @author Kevin Bourrillion
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable {
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      private transient Map<K, V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * @see Maps#unmodifiableBiMap(BiMap)
       */
      private static 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 @CheckForNull BiMap<V, K> inverse;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * @see Maps#unmodifiableBiMap(BiMap)
       */
      private static 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 @CheckForNull BiMap<V, K> inverse;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top