- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,438 for SuppressWarnings (0.15 seconds)
-
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableSet} with exactly one element. * * @author Kevin Bourrillion * @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that withCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Absent.java
/** Implementation of an {@link Optional} not containing a reference. */ @GwtCompatible final class Absent<T> extends Optional<T> { static final Absent<Object> INSTANCE = new Absent<>(); @SuppressWarnings("unchecked") // implementation is "fully variant" static <T> Optional<T> withType() { return (Optional<T>) INSTANCE; } private Absent() {} @Override public boolean isPresent() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/java9/module-info.java
@SuppressWarnings("module") module okhttp3.dnsoverhttps { requires okhttp3; exports okhttp3.dnsoverhttps;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 112 bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
/** * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a * single-element sorted set. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings({"serial", "rawtypes"}) final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> { static final RegularImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
/** * A {@link Set} whose contents will never change, with many other important properties detailed at * {@link ImmutableCollection}. * * @since 2.0 */ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> { // @IgnoreJRERequirement is not necessary because this compiles down to a constant.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
* @author Louis Wasserman * @since 2.0 */ @GwtCompatible /* * We provide and encourage use of ForwardingNavigableSet over this class, but we still provide this * one to preserve compatibility. */ @SuppressWarnings("JdkObsolete") public abstract class ForwardingSortedMap<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingMap<K, V> implements SortedMap<K, V> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
executor.shutdown(); } public void testCallableStartsAfterFirstFutureCompletes() { @SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor()); TestCallable secondCallable = new TestCallable(immediateVoidFuture()); @SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
@NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> { @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[]
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
@NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> { @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[]
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompoundOrdering.java
implements Serializable { final Comparator<? super T>[] comparators; @SuppressWarnings("unchecked") // Generic array creation CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) { this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary}; } @SuppressWarnings("unchecked") // Generic array creationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.5K bytes - Click Count (0)