- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for InternerImpl (0.08 sec)
-
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) -
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) -
guava/src/com/google/common/collect/Interners.java
return newBuilder().weak().build(); } @VisibleForTesting static final class InternerImpl<E> implements Interner<E> { // MapMaker is our friend, we know about this type @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map; private InternerImpl(MapMaker mapMaker) { this.map =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
return newBuilder().weak().build(); } @VisibleForTesting static final class InternerImpl<E> implements Interner<E> { // MapMaker is our friend, we know about this type @VisibleForTesting final MapMakerInternalMap<E, Dummy, ?, ?> map; private InternerImpl(MapMaker mapMaker) { this.map =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
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) -
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)