- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,007 for SuppressWarnings (0.07 sec)
-
android/guava/src/com/google/common/collect/ImmutableTable.java
rowFunction, columnFunction, valueFunction, mergeFunction); } /** * Returns an empty immutable table. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <R, C, V> ImmutableTable<R, C, V> of() { return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY; } /** Returns an immutable table containing a single cell. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1)); assertFalse(ArbitraryInstances.get(Equivalence.class).equivalent(1, 2)); } @SuppressWarnings("SelfComparison") public void testGet_comparable() { @SuppressWarnings("unchecked") // The null value can compare with any Object Comparable<Object> comparable = ArbitraryInstances.get(Comparable.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>. * * @author Jared Levy * @author Louis Wasserman * @since 2.0 */ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization public abstract class ImmutableMultiset<E> extends ImmutableCollection<E> implements Multiset<E> { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
return suite; } @SuppressWarnings("DoNotCall") public void testEmptyIterator() { Iterator<String> iterator = emptyIterator(); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); } @SuppressWarnings("DoNotCall") public void testEmptyListIterator() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
@SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62); @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 private static final String ALMOST_TOO_MANY_LEVELS = Strings.repeat("a.", 127); @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (double value : VALUES) { assertThat(Doubles.hashCode(value)).isEqualTo(Double.hashCode(value)); } } @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testIsFinite() { for (double value : NUMBERS) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListMultimapEqualsTester<K, V> extends AbstractListMultimapTester<K, V> { @CollectionSize.Require(SEVERAL) public void testOrderingAffectsEqualsComparisons() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetMultimapPutAllTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { @MapFeature.Require(SUPPORTS_PUT) public void testPutAllHandlesDuplicates() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X'); private static final Splitter STRING_SPLITTER = Splitter.on("X"); @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { input = Strings.repeat(text, length); } @Benchmark int charSplitter(int reps) { int total = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
} } static class SubClass extends SuperClass { @Override // We are testing how we treat an override with the same behavior and annotations. @SuppressWarnings("RedundantOverride") public void overriddenInSubclassNowhereAnnotated(Object o) { super.overriddenInSubclassNowhereAnnotated(o); } @Subscribe @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0)