Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for 140 (0.01 sec)

  1. guava/src/com/google/common/util/concurrent/Service.java

      /**
       * Returns the {@link Throwable} that caused this service to fail.
       *
       * @throws IllegalStateException if this service's state isn't {@linkplain State#FAILED FAILED}.
       * @since 14.0
       */
      Throwable failureCause();
    
      /**
       * Registers a {@link Listener} to be {@linkplain Executor#execute executed} on the given
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hashing.java

       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
       * href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>.
       *
       * @since 14.0
       */
      public static HashFunction crc32() {
        return ChecksumType.CRC_32.hashFunction;
      }
    
      /**
       * Returns a hash function implementing the Adler-32 checksum algorithm (32 hash bits).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
    @GwtIncompatible
    public interface RangeMap<K extends Comparable, V> {
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>{@link #setDefault} allows subclasses to specify default values for types.
     *
     * <p>This class incurs IO because it scans the classpath and reads classpath resources.
     *
     * @author Ben Yu
     * @since 14.0
     */
    // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass
    // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4).
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

     * operations.
     *
     * <p>Like all {@code RangeMap} implementations, this supports neither null keys nor null values.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible // NavigableMap
    public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractService.java

      @Override
      public final boolean isRunning() {
        return state() == RUNNING;
      }
    
      @Override
      public final State state() {
        return snapshot.externalState();
      }
    
      /**
       * @since 14.0
       */
      @Override
      public final Throwable failureCause() {
        return snapshot.failureCause();
      }
    
      /**
       * @since 13.0
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            directExecutor());
        return executor;
      }
    
      /**
       * Returns the name of this service. {@link AbstractScheduledService} may include the name in
       * debugging output.
       *
       * @since 14.0
       */
      protected String serviceName() {
        return getClass().getSimpleName();
      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

     * class.
     *
     * @param <T> the type that owns this method or constructor.
     * @param <R> the return type of (or supertype thereof) the method or the declaring type of the
     *     constructor.
     * @author Ben Yu
     * @since 14.0 (no longer implements {@link AccessibleObject} or {@code GenericDeclaration} since
     *     31.0)
     */
    public abstract class Invokable<T, R> implements AnnotatedElement, Member {
      private final AccessibleObject accessibleObject;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Closer.java

     * </ul>
     *
     * <p>An exception that is suppressed is added to the exception that <i>will</i> be thrown using
     * {@code Throwable.addSuppressed(Throwable)}.
     *
     * @author Colin Decker
     * @since 14.0
     */
    // Coffee's for {@link Closer closers} only.
    @J2ktIncompatible
    @GwtIncompatible
    public final class Closer implements Closeable {
      /** Creates a new {@link Closer}. */
      public static Closer create() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      @Override
      public final boolean isRunning() {
        return state() == RUNNING;
      }
    
      @Override
      public final State state() {
        return snapshot.externalState();
      }
    
      /**
       * @since 14.0
       */
      @Override
      public final Throwable failureCause() {
        return snapshot.failureCause();
      }
    
      /**
       * @since 13.0
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top