Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getValueReference (0.06 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          assertSame(valueOne, copyOne.getValueReference().get());
          assertConnected(map, copyOne, entryTwo);
    
          ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValueReference().get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/ReferenceEntry.java

     *   <li>Unset: marked as unset, awaiting cleanup or reuse
     * </ul>
     */
    @GwtIncompatible
    interface ReferenceEntry<K, V> {
      /** Returns the value reference from this entry. */
      @Nullable ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @Nullable ReferenceEntry<K, V> getNext();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      interface WeakValueEntry<K, V, E extends InternalEntry<K, V, E>> extends InternalEntry<K, V, E> {
        /** Gets the weak value reference held by entry. */
        WeakValueReference<K, V, E> getValueReference();
      }
    
      @SuppressWarnings("unchecked") // impl never uses a parameter or returns any non-null value
      static <K, V, E extends InternalEntry<K, V, E>>
          WeakValueReference<K, V, E> unsetWeakValueReference() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            WeakValueEntry<Object, Object, ?> entry =
                (WeakValueEntry<Object, Object, ?>) segment.getEntry(keyOne, hashOne);
            WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference();
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) valueReference;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            WeakValueEntry<Object, Object, ?> entry =
                (WeakValueEntry<Object, Object, ?>) segment.getEntry(keyOne, hashOne);
            WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference();
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) valueReference;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top