Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for seizable (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<Object> callback =
            new FutureCallback<Object>() {
              @Override
              public void onSuccess(Object result) {}
    
              @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Nov 15 16:33:21 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/DoubleMath.java

       * </ul>
       *
       * <p>This is reflexive and symmetric, but not transitive, so it is not an
       * equivalence relation and not suitable for use in {@link Object#equals}
       * implementations.
       *
       * @throws IllegalArgumentException if {@code tolerance} is {@code < 0} or NaN
       * @since 13.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/Escapers.java

       * points. In these cases it is necessary to extend either {@link ArrayBasedCharEscaper} or {@link
       * ArrayBasedUnicodeEscaper} to provide the desired behavior. However this builder is suitable for
       * creating escapers that replace a relative small set of characters.
       *
       * @author David Beaumont
       * @since 15.0
       */
      public static final class Builder {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          public @Nullable Object[] toArray() {
            return data.toArray();
          }
        };
      }
    
      /**
       * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is
       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<Object> callback =
            new FutureCallback<Object>() {
              @Override
              public void onSuccess(Object result) {}
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AsyncCallable.java

    @ElementTypesAreNonnullByDefault
    public interface AsyncCallable<V extends @Nullable Object> {
      /**
       * Computes a result {@code Future}. The output {@code Future} need not be {@linkplain
       * Future#isDone done}, making {@code AsyncCallable} suitable for asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@link
       * ListenableFuture}.
       */
      ListenableFuture<V> call() throws Exception;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 14 15:53:12 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

      /**
       * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code
       * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 10:45:35 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/UrlEscapers.java

     * the License.
     */
    
    package com.google.common.net;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.Escaper;
    
    /**
     * {@code Escaper} instances suitable for strings to be included in particular sections of URLs.
     *
     * <p>If the resulting URLs are inserted into an HTML or XML document, they will require additional
     * escaping with {@link com.google.common.html.HtmlEscapers} or {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/SmallCharMatcher.java

      // of dependencies.
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
       * <p>This method is suitable for the common use case of dividing work among buckets that meet the
       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top