Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fore (0.62 sec)

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

        }
    
        /**
         * Returns a newly-created immutable map, using the last value for any key that was added more
         * than once. The iteration order of the returned map is the order in which entries were
         * inserted into the builder, unless {@link #orderEntriesByValue} was called, in which case
         * entries are sorted by value. If a key was added more than once, it appears in iteration order
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
          valuesBuilder.add(entry.getValue());
        }
        return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build());
      }
    
      /** Returns a new builder for an immutable range map. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * memory leaks.
       */
      boolean isPartialView() {
        return ranges.isPartialView();
      }
    
      /** Returns a new builder for an immutable range set. */
      public static <C extends Comparable<?>> Builder<C> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for immutable range sets.
       *
       * @since 14.0
       */
      public static class Builder<C extends Comparable<?>> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. README.md

    Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
    Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
    for use on Android or by any library that wants to be compatible with Android.
    These flavors are specified in the Maven version field as either `33.2.0-jre` or
    `33.2.0-android`. For more about depending on Guava, see
    [using Guava in your build].
    
    To add a dependency on Guava using Maven, use the following:
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

       * ordering of all views in the returned table. Note that some views of the original table and the
       * copied table may have different iteration orders. For more control over the ordering, create a
       * {@link Builder} and call {@link Builder#orderRowsBy}, {@link Builder#orderColumnsBy}, and
       * {@link Builder#putAll}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *         .put("three", 3)
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order
       * they were inserted into the builder. For example, in the above example, {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

       *   <li>{@code ImmutableList.of(2, "C")}
       * </ul>
       *
       * <p>The result is guaranteed to be in the "traditional", lexicographical order for Cartesian
       * products that you would get from nesting for loops:
       *
       * <pre>{@code
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
    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)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

       * more elements, and a {@code NoSuchElementException} if the stream is empty.
       */
      @SuppressWarnings("unchecked")
      public static <T extends @Nullable Object> Collector<T, ?, T> onlyElement() {
        return (Collector) ONLY_ELEMENT;
      }
    
      /**
       * This atrocity is here to let us report several of the elements in the stream if there were more
       * than one, not just two.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       * and {@code get()} will return a general {@code Collection} as opposed to a {@code List} or a
       * {@code Set}.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
       * multimap to be a view, but it means that the function will be applied many times for bulk
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableList.java

      int copyIntoArray(@Nullable Object[] dst, int offset) {
        // this loop is faster for RandomAccess instances, which ImmutableLists are
        int size = size();
        for (int i = 0; i < size; i++) {
          dst[offset + i] = get(i);
        }
        return offset + size;
      }
    
      /**
       * Returns a view of this immutable list in reverse order. For example, {@code ImmutableList.of(1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top