- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InternerBuilder (0.09 sec)
-
guava/src/com/google/common/collect/Interners.java
* * @since 21.0 */ public static class InternerBuilder { private final MapMaker mapMaker = new MapMaker(); private boolean strong = true; private InternerBuilder() {} /** * Instructs the {@link InternerBuilder} to build a strong interner. * * @see Interners#newStrongInterner() */ public InternerBuilder strong() { this.strong = true; return this; }
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
* * @since 21.0 */ public static class InternerBuilder { private final MapMaker mapMaker = new MapMaker(); private boolean strong = true; private InternerBuilder() {} /** * Instructs the {@link InternerBuilder} to build a strong interner. * * @see Interners#newStrongInterner() */ public InternerBuilder strong() { this.strong = true; return this; }
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-tests/test/com/google/common/collect/InternersTest.java
} public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0)); } public void testConcurrencyLevel_negative() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42));
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
} public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(0)); } public void testConcurrencyLevel_negative() { Interners.InternerBuilder builder = Interners.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.concurrencyLevel(-42));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0)