- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 1,307 for Callable (0.04 seconds)
-
guava/src/com/google/common/base/Optional.java
* * @since 21.0 (but only since 33.4.0 in the Android flavor) */ @SuppressWarnings("NullableOptional") // Null passthrough is reasonable for type conversions public static <T> @Nullable Optional<T> fromJavaUtil( java.util.@Nullable Optional<T> javaUtilOptional) { return (javaUtilOptional == null) ? null : fromNullable(javaUtilOptional.orElse(null)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java
* the License. */ package com.google.common.base; import org.jspecify.annotations.Nullable; /** Holder for extra methods of {@code Objects} only in web. */ public abstract class ExtraObjectsMethodsForWeb { public static boolean equal(@Nullable String a, @Nullable String b) { return a == b; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 883 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java
*/ public class SystemLogger implements Logger { private final PrintWriter out; private final Level threshold; public SystemLogger(@Nullable OutputStream out) { this(out, null); } public SystemLogger(@Nullable OutputStream out, @Nullable Level threshold) { this.out = new PrintWriter(toPsOrDef(out, System.err), true); this.threshold = Objects.requireNonNullElse(threshold, Level.INFO);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Feb 08 16:25:25 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup( LENGTH_EQUIVALENCE.<@Nullable String>wrap(null), LENGTH_EQUIVALENCE.<@Nullable String>wrap(null)) .addEqualityGroup(Equivalence.equals().wrap("hello")) .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null)) .testEquals(); } public void testWrap_get() { String test = "test";
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<@Nullable Object> callback = new FutureCallback<@Nullable Object>() { @Override public void onSuccess(@Nullable Object result) {} @Override public void onFailure(Throwable t) {} }; addCallback(f, callback, directExecutor());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Joiner.java
} private static Iterable<@Nullable Object> iterable( @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) { checkNotNull(rest); return new AbstractList<@Nullable Object>() { @Override public int size() { return rest.length + 2; } @Override public @Nullable Object get(int index) { switch (index) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 19.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Verify.java
* * @since 23.1 (varargs overload since 17.0) */ public static void verify( boolean expression, String errorMessageTemplate, @Nullable Object p1, @Nullable Object p2, @Nullable Object p3, @Nullable Object p4) { if (!expression) { throw new VerifyException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4)); } } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
import org.apache.maven.api.annotations.Nullable; /** * An XML reader request. * * @since 4.0.0 */ @Experimental @Immutable public interface XmlReaderRequest { @Nullable Path getPath(); @Nullable Path getRootDirectory(); @Nullable URL getURL(); @Nullable InputStream getInputStream(); @Nullable Reader getReader(); @NullableCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:27 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
import static java.util.Objects.requireNonNull; import com.google.common.collect.ImmutableList; import com.google.errorprone.annotations.CanIgnoreReturnValue; import org.jspecify.annotations.Nullable; /** * Standard implementation of {@link MutableValueGraph} that supports both directed and undirected * graphs. Instances of this class should be constructed with {@link ValueGraphBuilder}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
* * @author Jared Levy */ @GwtCompatible abstract class AbstractSortedSetMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> { /** * Creates a new multimap that uses the provided map. * * @param map place to store the mapping from each key to its corresponding values */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0)