- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 1,438 for SuppressWarnings (0.12 seconds)
-
android/guava/src/com/google/common/graph/ImmutableGraph.java
* @author Omar Darwish * @author Jens Nyman * @param <N> Node parameter type * @since 20.0 */ @Immutable(containerOf = {"N"}) public class ImmutableGraph<N> extends ForwardingGraph<N> { @SuppressWarnings("Immutable") // The backing graph must be immutable. private final BaseGraph<N> backingGraph; ImmutableGraph(BaseGraph<N> backingGraph) { this.backingGraph = backingGraph; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link ForwardingMultimap}. * * @author Hayward Chan */ @NullUnmarked public class ForwardingMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Multimap.class, new Function<Multimap, Multimap<?, ?>>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingTableTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests {@link ForwardingTable}. * * @author Gregory Kick */ @NullUnmarked public class ForwardingTableTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Table.class, new Function<Table, Table<?, ?, ?>>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
*/ public static <K, V> ImmutableMultimap<K, V> copyOf(Multimap<? extends K, ? extends V> multimap) { if (multimap instanceof ImmutableMultimap) { @SuppressWarnings("unchecked") // safe since multimap is not writable ImmutableMultimap<K, V> kvMultimap = (ImmutableMultimap<K, V>) multimap; if (!kvMultimap.isPartialView()) { return kvMultimap; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
assertThat(cache.getIfPresent(4)).isEqualTo(40); assertThat(cache.getIfPresent(5)).isEqualTo(50); assertThat(cache.getIfPresent(2)).isNull(); } @SuppressWarnings({"deprecation", "LoadingCacheApply"}) @Test public void loadingCache() throws ExecutionException { CacheLoader<Integer, Integer> loader = new CacheLoader<Integer, Integer>() { int i = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
okhttp/src/jvmMain/java9/module-info.java
@SuppressWarnings("module") module okhttp3 { requires transitive kotlin.stdlib; requires transitive okio; requires java.logging; exports okhttp3; exports okhttp3.internal to okhttp3.logging, okhttp3.sse, okhttp3.java.net.cookiejar, okhttp3.dnsoverhttps, mockwebserver3, okhttp3.mockwebserver, mockwebserver3.junit5, okhttp3.coroutines, okhttp3.tls; exports okhttp3.internal.concurrent to mockwebserver3, okhttp3.mockwebserver;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 992 bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* inflicts spurious interrupts on us?), we might have to accept some flakiness or disable some * tests, at least under whichever environment (JRE or Android) we see such problems. */ @SuppressWarnings("WaitNotInLoop") // see comment above public void testConditionAwaitTimeoutExceeded() { Stopwatch stopwatch = Stopwatch.createStarted(); Condition condition = TestCondition.create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
checkNotNull(mergeFunction); return Collectors.collectingAndThen( Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new), ImmutableMap::copyOf); } @SuppressWarnings("unchecked") // An empty map works for all types. public static <K, V> ImmutableMap<K, V> of() { return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link ImmutableMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class ImmutableMultimapTest extends TestCase { @SuppressWarnings("JUnitIncompatibleType") public void testBuilder_withImmutableEntry() { ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>().put(immutableEntry("one", 1)).build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractBiMap.java
return Maps.valueIterator(entrySet().iterator()); } @Override public @Nullable Object[] toArray() { return standardToArray(); } @Override @SuppressWarnings("nullness") // bug in our checker's handling of toArray signatures public <T extends @Nullable Object> T[] toArray(T[] array) { return standardToArray(array); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 13.5K bytes - Click Count (0)