Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWeak_simplistic (0.16 sec)

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

        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
        assertEquals(Strength.STRONG, internerImpl.map.keyStrength());
      }
    
      public void testWeak_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
        Interner<String> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/InternersTest.java

        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
        assertEquals(Strength.STRONG, internerImpl.map.keyStrength());
      }
    
      public void testWeak_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
        Interner<String> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top