Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StrongKeyWeakValueEntry (0.15 sec)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

      static class StrongKeyWeakValueEntry<K, V>
          extends AbstractStrongKeyEntry<K, V, StrongKeyWeakValueEntry<K, V>>
          implements WeakValueEntry<K, V, StrongKeyWeakValueEntry<K, V>> {
        private volatile WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> valueReference =
            unsetWeakValueReference();
    
        private StrongKeyWeakValueEntry(K key, int hash) {
          super(key, hash);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      static class StrongKeyWeakValueEntry<K, V>
          extends AbstractStrongKeyEntry<K, V, StrongKeyWeakValueEntry<K, V>>
          implements WeakValueEntry<K, V, StrongKeyWeakValueEntry<K, V>> {
        private volatile WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> valueReference =
            unsetWeakValueReference();
    
        private StrongKeyWeakValueEntry(K key, int hash) {
          super(key, hash);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyWeakValueEntry.Helper.class);
      }
    
      private static void checkStrength(
          MapMakerInternalMap<Object, Object, ?, ?> map, Strength keyStrength, Strength valueStrength) {
        assertSame(keyStrength, map.keyStrength());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyWeakValueEntry.Helper.class);
      }
    
      private static void checkStrength(
          MapMakerInternalMap<Object, Object, ?, ?> map, Strength keyStrength, Strength valueStrength) {
        assertSame(keyStrength, map.keyStrength());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top