Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for from (0.18 sec)

  1. android/guava/src/com/google/common/collect/Ordering.java

          }
        }
        return leastOf(iterable.iterator(), k);
      }
    
      /**
       * Returns the {@code k} least elements from the given iterator according to this ordering, in
       * order from least to greatest. If there are fewer than {@code k} elements present, all will be
       * included.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

      private static final class RemoveFirstFunction implements Function<String, String>, Serializable {
        @Override
        public String apply(String from) {
          return (from.length() == 0) ? from : from.substring(1);
        }
      }
    
      private static class SomeIterable implements Iterable<Integer>, Serializable {
        @Override
        public Iterator<Integer> iterator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * use the {@code EnumMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @param map the map from which to initialize this {@code EnumMap}
       * @return a new {@code EnumMap} initialized with the mappings from {@code map}
       * @throws IllegalArgumentException if {@code m} is not an {@code EnumMap} instance and contains
       *     no mappings
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

       * Removes every element that satisfies the provided predicate from the iterator. The iterator
       * will be left exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @param removeFrom the iterator to (potentially) remove elements from
       * @param predicate a predicate that determines whether an element should be removed
       * @return {@code true} if any elements were removed from the iterator
       * @since 2.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  5. guava-gwt/pom.xml

          <artifactId>guava</artifactId>
          <version>${project.version}</version>
        </dependency>
        <!-- We redeclare the j2objc-annotations dependency from `guava`: Our Gradle
             Module Metadata hides the dependency declared in `guava` from runtime
             configurations downstream, and GWT uses the runtime configuration for
             its builds. Thus, GWT doesn't get j2objc-annotations transitively, in
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/HttpHeaders.java

       */
      public static final String EARLY_DATA = "Early-Data";
      /** The HTTP {@code Expect} header field name. */
      public static final String EXPECT = "Expect";
      /** The HTTP {@code From} header field name. */
      public static final String FROM = "From";
      /**
       * The HTTP <a href="https://tools.ietf.org/html/rfc7239">{@code Forwarded}</a> header field name.
       *
       * @since 20.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

       *       hash(x}} consistently return the same value provided {@code x} remains unchanged
       *       according to the definition of the equivalence. The hash need not remain consistent from
       *       one execution of an application to another execution of the same application.
       *   <li>It is <i>distributable across equivalence</i>: for any references {@code x} and {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

        // implementation.
        int from = 0;
        int to = 0;
    
        for (; from < list.size(); from++) {
          T element = list.get(from);
          if (!predicate.apply(element)) {
            if (from > to) {
              try {
                list.set(to, element);
              } catch (UnsupportedOperationException e) {
                slowRemoveIfForRemainingElements(list, predicate, to, from);
                return true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       * that this uses unsigned integers (see {@link com.google.common.primitives.UnsignedInts}).
       * Comparisons between the two should take this into account.
       *
       * <p>Fingerprint2011() is a form of Murmur2 on strings up to 32 bytes and a form of CityHash for
       * longer strings. It could have been one or the other throughout. The main advantage of the
       * combination is that CityHash has a bunch of special cases for short strings that don't need to
    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)
  10. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * mention that key with its values. Further duplicates might be added in the meantime but since
       * builders only ever accumulate entries it will always be valid to throw from buildOrThrow() with
       * the first duplicate.
       */
    
      // This entry point is for callers other than ImmutableMap.Builder.
      static <K, V> RegularImmutableMap<K, V> create(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
Back to top