Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 887 for Callable (0.66 sec)

  1. android/guava/src/com/google/common/collect/ReverseOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the reverse of a given order. */
    @GwtCompatible
    final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Ordering<? super T> forwardOrder;
    
      ReverseOrdering(Ordering<? super T> forwardOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableMultimapTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/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.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractHashFunction.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Skeleton implementation of {@link HashFunction} in terms of {@link #newHasher()}.
     *
     * <p>TODO(lowasser): make public
     */
    @Immutable
    abstract class AbstractHashFunction implements HashFunction {
      @Override
      public <T extends @Nullable Object> HashCode hashObject(
          @ParametricNullness T instance, Funnel<? super T> funnel) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/MultiReader.java

    import java.io.Reader;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Reader} that concatenates multiple readers.
     *
     * @author Bin Zhu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class MultiReader extends Reader {
      private final Iterator<? extends CharSource> it;
      private @Nullable Reader current;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.ListIterator;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Defaults.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides default values for all Java types, as defined by the JLS.
     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Defaults {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingIterator.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator which forwards all its method calls to another iterator. Subclasses should override
     * one or more methods to modify the behavior of the backing iterator as desired per the <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            .testEquals();
      }
    
      public void testOfEntriesNull() {
        Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top