Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 114 for promise (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            Arrays.asList(1, 2, 3, 4, 5),
            Ordering.<Integer>natural().leastOf(list.iterator(), Integer.MAX_VALUE));
      }
    
      public void testGreatestOfIterable_simple() {
        /*
         * If greatestOf() promised to be implemented as reverse().leastOf(), this
         * test would be enough. It doesn't... but we'll cheat and act like it does
         * anyway. There's a comment there to remind us to fix this if we change it.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

     *       doing something and finally closing the stream that was opened.
     * </ul>
     *
     * <p><b>Note:</b> In general, {@code ByteSource} is intended to be used for "file-like" sources
     * that provide streams that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #size()} and {@link #read()}, will either
     *       block indefinitely or fail if the source creates an infinite stream.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        } catch (SecurityException e) {
          // OK if we can't set the name in this environment.
        }
        return result;
      }
    
      // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService?
      // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to
      // calculate names?
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * V>} to a {@code NavigableMap<K, V>}. If it permitted this, the returned map's {@code
       * comparator()} method might return a {@code Comparator<? extends K>}, which works only on a
       * particular subtype of {@code K}, but promise that it's a {@code Comparator<? super K>}, which
       * must work on any type of {@code K}.
       *
       * @param map the navigable map for which an unmodifiable view is to be returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

       * predicate)} and use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

     * both a distinct element and the count of that element.
     *
     * <p>In addition to these required methods, implementations of {@code Multiset} are expected to
     * provide two {@code static} creation methods: {@code create()}, returning an empty multiset, and
     * {@code create(Iterable<? extends E>)}, returning a multiset containing the given initial
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return false;
        }
    
        @Override
        public String toString() {
          return paramString(interfaceType, identity);
        }
      }
    
      /** Subclasses can override to provide different return value for proxied interface methods. */
      @CheckForNull
      Object interfaceMethodCalled(Class<?> interfaceType, Method method) {
        throw new UnsupportedOperationException();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

      }
    
      // Constructors
    
      /**
       * Constructor for use by subclasses. When subclassing, you may want to override {@code
       * toString()} to provide a useful description.
       */
      protected CharMatcher() {}
    
      // Abstract methods
    
      /** Determines a true or false value for the given character. */
      public abstract boolean matches(char c);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top