Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InternerImpl (0.06 sec)

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

        Interner<Object> interner =
            Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build();
        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
        assertEquals(Strength.WEAK, internerImpl.map.keyStrength());
        assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel);
      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Object> interner =
            Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build();
        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
        assertEquals(Strength.WEAK, internerImpl.map.keyStrength());
        assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel);
      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        };
    
        abstract <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
            Table<R, C, V> contents);
      }
    
      public enum InternerImpl implements InternerImplEnum {
        WeakInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
            Interner<E> interner = Interners.newWeakInterner();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        };
    
        abstract <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
            Table<R, C, V> contents);
      }
    
      public enum InternerImpl implements InternerImplEnum {
        WeakInternerImpl {
          @Override
          public <E> Interner<E> create(Collection<E> contents) {
            Interner<E> interner = Interners.newWeakInterner();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top