Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,806 for instances (0.1 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link
     * #asMap}, and {@link #toString}.
     *
     * <p>Instances of this class may be used by multiple threads concurrently. All operations are
     * atomic unless otherwise noted.
     *
     * <p>Instances of this class are serializable if the keys are serializable.
     *
     * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link HashFunction} adapter for {@link Checksum} instances.
     *
     * @author Colin Decker
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class ChecksumHashFunction extends AbstractHashFunction implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/TearDown.java

       *
       * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
       * not fail a test when an exception is thrown from one of its {@link TearDown} instances, but
       * this is subject to change. Also, {@code junit4.TearDownTestCase} will.
       *
       * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedMultisets.java

    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Provides static utility methods for creating and working with {@link SortedMultiset} instances.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class SortedMultisets {
      private SortedMultisets() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

                return exception instanceof UnsupportedOperationException
                    || exception instanceof IllegalStateException;
              }
            };
        static final PermittedMetaException UOE =
            new PermittedMetaException("UnsupportedOperationException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

    /**
     * This abstract base class for testers allows the framework to inject needed information after
     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
Back to top