Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyEntry (0.1 sec)

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

      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @VisibleForTesting
      E copyEntry(E original, E newNext) {
        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> copyOne = map.copyEntry(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValueReference().get());
          assertConnected(map, copyOne, entryTwo);
    
          ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
Back to top