Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nullEntry (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/TablesTest.java

        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
            immutableCell(null, null, null);
        assertEquals("(null,null)=null", nullEntry.toString());
      }
    
      public void testEntryEquals() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
    
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

      }
    
      // Guarded By Segment.this
      static <K, V> void nullifyAccessOrder(ReferenceEntry<K, V> nulled) {
        ReferenceEntry<K, V> nullEntry = nullEntry();
        nulled.setNextInAccessQueue(nullEntry);
        nulled.setPreviousInAccessQueue(nullEntry);
      }
    
      // Guarded By Segment.this
      static <K, V> void connectWriteOrder(ReferenceEntry<K, V> previous, ReferenceEntry<K, V> next) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TablesTest.java

        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
            immutableCell(null, null, null);
        assertEquals("(null,null)=null", nullEntry.toString());
      }
    
      public void testEntryEquals() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
    
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // null key
        DummyEntry<Object, Object> nullEntry = DummyEntry.create(null, hash, entry);
        Object nullValue = new Object();
        ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue, 1);
        nullEntry.setValueReference(nullValueRef);
        table.set(index, nullEntry);
        // skip the null key
        assertSame(value, segment.get(key, hash));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // null key
        DummyEntry<Object, Object> nullEntry = DummyEntry.create(null, hash, entry);
        Object nullValue = new Object();
        ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue, 1);
        nullEntry.setValueReference(nullValueRef);
        table.set(index, nullEntry);
        // skip the null key
        assertSame(value, segment.get(key, hash));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top