- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 880 for Nullable (1.99 sec)
-
android/guava-tests/test/com/google/common/io/CloserTest.java
import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Objects; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Closer}. * * @author Colin Decker */ @NullUnmarked public class CloserTest extends TestCase { private TestSuppressor suppressor; @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
import java.io.Closeable; import java.io.IOException; import java.util.ArrayDeque; import java.util.Deque; import java.util.logging.Level; import org.jspecify.annotations.Nullable; /** * A {@link Closeable} that collects {@code Closeable} resources and closes them all when it is * {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
// TODO(kevinb): dispense with this after benchmarking boolean useCustomMap; int initialCapacity = UNSET_INT; int concurrencyLevel = UNSET_INT; @Nullable Strength keyStrength; @Nullable Strength valueStrength; @Nullable Equivalence<Object> keyEquivalence; /** * Constructs a new {@code MapMaker} instance with default settings, including strong keys, strong
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
return array[start + index]; } @Override public boolean contains(@Nullable Object target) { // Overridden to prevent a ton of boxing return (target instanceof Float) && Floats.indexOf(array, (Float) target, start, end) != -1; } @Override public int indexOf(@Nullable Object target) { // Overridden to prevent a ton of boxing if (target instanceof Float) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
import com.google.common.collect.testing.features.CollectionSize; import java.lang.reflect.Method; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.List; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly; * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
import java.lang.reflect.Field; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.util.Random; import org.jspecify.annotations.Nullable; import sun.misc.Unsafe; /** * A package-local class holding common representation and mechanics for classes supporting dynamic
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
import com.google.common.base.Preconditions; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /** * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link * #putByte}. Subtypes may provide more efficient implementations, however. * * @author Dimitris Andreou */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
} }; } private WildcardCapturer notForTypeVariable() { return new WildcardCapturer(id); } private @Nullable Type captureNullable(@Nullable Type type) { if (type == null) { return null; } return capture(type); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
} private static final class Scope { private String scope; } /** Returns {@code null} if unable to parse into a {@code byte[]}. */ private static byte @Nullable [] ipStringToBytes(String ipStringParam, @Nullable Scope scope) { String ipString = ipStringParam; // Make a first pass to categorize the characters in this string. boolean hasColon = false; boolean hasDot = false;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.7K bytes - Viewed (0)