Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1101 - 1110 of 1,307 for Callable (0.04 seconds)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
    
        @Override
        public boolean contains(@Nullable Object target) {
          return indexOf(target) >= 0;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          return target instanceof Long ? parent.indexOf((Long) target) : -1;
        }
    
        @Override
        public int lastIndexOf(@Nullable Object target) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            @Override
            @Nullable String chop(String str) {
              String result = i.chop(str);
              return result != null ? result : you.chop(str);
            }
          };
        }
    
        abstract @Nullable String chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            @Nullable String chop(String str) {
    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)
  3. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertArrayEquals(bytes, processedBytes);
      }
    
      public void testRead_withProcessor_stopsOnFalse() throws IOException {
        ByteProcessor<@Nullable Void> processor =
            new ByteProcessor<@Nullable Void>() {
              boolean firstCall = true;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/LinearTransformation.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The representation of a linear transformation between real numbers {@code x} and {@code y}.
     * Graphically, this is the specification of a straight line on a plane. The transformation can be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

    import java.util.LinkedHashSet;
    import java.util.Set;
    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 ForwardingSet}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingSetTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    @NullUnmarked
    public class SubscriberTest extends TestCase {
    
      private static final Object FIXTURE_ARGUMENT = new Object();
    
      private EventBus bus;
      private boolean methodCalled;
      private @Nullable Object methodArgument;
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

     */
    package org.apache.maven.cling.invoker.mvnenc;
    
    import java.io.InterruptedIOException;
    import java.util.ArrayList;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.mvnenc.EncryptOptions;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.cling.invoker.LookupContext;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

     */
    package org.apache.maven.cling.invoker.mvnup;
    
    import java.io.InterruptedIOException;
    import java.util.ArrayList;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.mvnup.UpgradeOptions;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.cling.invoker.LookupContext;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Utility {@link CacheLoader} implementations intended for use in testing.
     *
     * @author mike nonemacher
     */
    @GwtCompatible
    @NullUnmarked
    final class TestingCacheLoaders {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code iterator} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top