- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 957 for Callable (0.08 sec)
-
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* <p>This testing utility is not thread-safe. * * @author Kevin Bourrillion */ @GwtCompatible public final class MinimalIterable<E extends @Nullable Object> implements Iterable<E> { /** Returns an iterable whose iterator returns the given elements in order. */ public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) { // Make sure to get an unmodifiable iterator
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
"toString() isn't properly forwarded", proxy.toString(), wrapperFunction.apply(proxy).toString()); } private static @Nullable Object[] getParameterValues(Method method) { FreshValueGenerator paramValues = new FreshValueGenerator(); List<@Nullable Object> passedArgs = new ArrayList<>(); for (Class<?> paramType : method.getParameterTypes()) { passedArgs.add(paramValues.generateFresh(paramType));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ByFunctionOrdering.java
import java.io.Serializable; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * An ordering that orders elements by applying an order to the result of a function on those * elements. */ @GwtCompatible final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object> extends Ordering<F> implements Serializable { final Function<F, ? extends T> function;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FunctionalEquivalence.java
import org.jspecify.annotations.Nullable; /** * Equivalence applied on functional result. * * @author Bob Lee * @since 10.0 */ @GwtCompatible final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable { @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; private final Function<? super F, ? extends @Nullable T> function;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
import org.jspecify.annotations.Nullable; /** * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link * #createCollection} method must return a {@code Set}. * * @author Jared Levy */ @GwtCompatible abstract class AbstractSetMultimap<K extends @Nullable Object, V extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 13:05:10 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AllEqualOrdering.java
public int compare(@Nullable Object left, @Nullable Object right) { return 0; } @Override public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) { return Lists.newArrayList(iterable); } @Override public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { return ImmutableList.copyOf(iterable); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return super.containsAll(collection); } @Override public Iterator<E> iterator() { return asList(contents).iterator(); } @Override public @Nullable Object[] toArray() { @Nullable Object[] result = new @Nullable Object[contents.length]; arraycopy(contents, 0, result, 0, contents.length); return result; } /*
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
import org.jspecify.annotations.Nullable; /** Implementations of {@code Futures.transform*}. */ @GwtCompatible // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") abstract class AbstractTransformFuture< I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/NullsFirstOrdering.java
// ordering.reverse() might be optimized, so let it do its thing return ordering.<T>reverse().<@NonNull S>nullsLast(); } @SuppressWarnings("unchecked") // still need the right way to explain this @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() { return (Ordering<@Nullable S>) this; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
private static final AtomicReferenceFieldUpdater<Waiter, @Nullable Thread> waiterThreadUpdater = AtomicReferenceFieldUpdater.<Waiter, @Nullable Thread>newUpdater( Waiter.class, Thread.class, "thread"); private static final AtomicReferenceFieldUpdater<Waiter, @Nullable Waiter> waiterNextUpdater = AtomicReferenceFieldUpdater.<Waiter, @Nullable Waiter>newUpdater( Waiter.class, Waiter.class, "next");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0)