- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 925 for callable (0.04 sec)
-
guava/src/com/google/common/io/CharSource.java
} @Override public @Nullable String readFirstLine() { Iterator<String> lines = linesIterator(); return lines.hasNext() ? lines.next() : null; } @Override public ImmutableList<String> readLines() { return ImmutableList.copyOf(linesIterator()); } @Override @ParametricNullness
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
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/src/com/google/common/collect/RangeSet.java
import com.google.common.annotations.GwtIncompatible; import com.google.errorprone.annotations.DoNotMock; import java.util.NoSuchElementException; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain * Range#isConnected(Range) disconnected} ranges of type {@code C}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
@Override public int hashCode() { return a; } @Override public boolean equals(@Nullable Object obj) { return obj instanceof TypeWithDuplicates && ((TypeWithDuplicates) obj).a == a; } boolean fullEquals(@Nullable TypeWithDuplicates other) { return other != null && a == other.a && b == other.b; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
android/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-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
import java.util.Map; import java.util.Map.Entry; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link ImmutableClassToInstanceMap}. * * @author Kevin Bourrillion */ @NullUnmarked public class ImmutableClassToInstanceMapTest extends TestCase {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNullForbidden() { assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3()))); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types @MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyCollectionOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections.<V>emptyList())); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get * methods and the addListener method. * * @author Sven Mawson * @since 10.0 */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/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 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
import static com.google.common.base.Preconditions.checkArgument; import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.nio.ByteBuffer; import org.jspecify.annotations.Nullable; /** * {@link HashFunction} implementation of SipHash-c-d. * * @author Kurt Alfred Kluever * @author Jean-Philippe Aumasson * @author Daniel J. Bernstein */ @Immutable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0)