- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 969 for SuppressWarnings (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
assertEquals(Lists.newArrayList("a"), new ArrayList<>(set)); } public void testCreation_oneDuplicate() { // now we'll get the varargs overload @SuppressWarnings("DistinctVarargsChecker") // deliberately testing deduplication ImmutableSet<String> set = ImmutableSet.of("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "a"); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
/* * Both of these fields *are* immutable/constant. They don't use the type ImmutableList because * they need to behave slightly differently. */ @SuppressWarnings("ConstantCaseForConstants") private static final List<Integer> UNDERREPORTING_SIZE_LIST; @SuppressWarnings("ConstantCaseForConstants") private static final List<Integer> OVERREPORTING_SIZE_LIST; static { List<Integer> collection123 = Arrays.asList(1, 2, 3);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java
return result; } @SuppressWarnings("rawtypes") // class literals static final List<? extends Class<? extends AbstractTester>> TESTERS = asList( ConcurrentMapPutIfAbsentTester.class, ConcurrentMapRemoveTester.class, ConcurrentMapReplaceTester.class, ConcurrentMapReplaceEntryTester.class); @SuppressWarnings("rawtypes") // class literals @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java
return result; } @SuppressWarnings("rawtypes") // class literals static final List<? extends Class<? extends AbstractTester>> TESTERS = asList( ConcurrentMapPutIfAbsentTester.class, ConcurrentMapRemoveTester.class, ConcurrentMapReplaceTester.class, ConcurrentMapReplaceEntryTester.class); @SuppressWarnings("rawtypes") // class literals @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* ordering. * * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable} * in 15.0) */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @J2ktIncompatible @GwtIncompatible // PriorityBlockingQueue public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18K bytes - Viewed (0) -
mockwebserver-junit4/src/main/java9/module-info.java
@SuppressWarnings("module") module mockwebserver3.junit4 { requires okhttp3; exports mockwebserver3.junit4; requires java.logging;Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 139 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder().add(Range.open(0, 2)).add(Range.atLeast(5)).build(); assertEquals(expectedComplement, rangeSet.complement()); } @SuppressWarnings("DoNotCall") public void testAddUnsupported() { RangeSet<Integer> rangeSet = ImmutableRangeSet.<Integer>builder() .add(Range.closed(5, 8)) .add(Range.closedOpen(1, 3))
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
@NullUnmarked public class AbstractBiMapTest extends TestCase { // The next two tests verify that map entries are not accessed after they're // removed, since IdentityHashMap throws an exception when that occurs. @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap public void testIdentityKeySetIteratorRemove() { BiMap<Integer, String> bimap = new AbstractBiMap<Integer, String>(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
@NullUnmarked public class AbstractBiMapTest extends TestCase { // The next two tests verify that map entries are not accessed after they're // removed, since IdentityHashMap throws an exception when that occurs. @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap public void testIdentityKeySetIteratorRemove() { BiMap<Integer, String> bimap = new AbstractBiMap<Integer, String>(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
} return false; } @Override boolean isPartialView() { return false; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } } abstract V getValue(int iterationIndex);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 7K bytes - Viewed (0)