- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 1,307 for Callable (0.11 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingListTest.java
import java.util.List; import java.util.ListIterator; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@code ForwardingList}. * * @author Robert Konigsberg * @author Louis Wasserman */ @NullUnmarked public class ForwardingListTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.WeakHashMap; import org.jspecify.annotations.Nullable; /** * Utility methods for working with {@link Enum} instances. * * @author Steve McKay * @since 9.0 */ @GwtIncompatible @J2ktIncompatible public final class Enums { private Enums() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
import java.util.List; import java.util.ListIterator; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; import org.junit.Ignore; /** * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
import java.util.Optional; import java.util.Properties; import java.util.ServiceLoader; import java.util.function.UnaryOperator; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.services.Interpolator; import org.apache.maven.api.services.model.RootLocator; import org.apache.maven.cling.logging.Slf4jConfiguration; import org.apache.maven.execution.MavenExecutionRequest;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java
* <p> * Annotated fields must not be null after construction has completed. * <p> * When this annotation is applied to a method it applies to the method return value. * * @see Nullable * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.4K bytes - Click Count (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}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 9.8K bytes - Click Count (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; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (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.emptyList())); expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0)