Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for host (0.16 sec)

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

       * specified is included. To create a copy of a {@code SortedSet} that preserves the comparator,
       * call {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

        // * The element with (index == from) should be kept.
        // * Everything with (index > from) has not been checked yet.
    
        // Check from the end of the list backwards (minimize expected cost of
        // moving elements when remove() is called). Stop before 'from' because
        // we already know that should be kept.
        for (int n = list.size() - 1; n > from; n--) {
          if (predicate.apply(list.get(n))) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

          if (superCount < entry.getCount()) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Modifies {@code multisetToModify} so that its count for an element {@code e} is at most {@code
       * multisetToRetain.count(e)}.
       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
       * Math.min(multisetToModify.count(e), multisetToRetain.count(e))}. This is similar to {@link
    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)
  4. README.md

    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Guava comes in two flavors:
    
    *   The JRE flavor requires JDK 1.8 or higher.
    *   If you need support for Android, use
    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/Sets.java

       * E} is an {@link Enum} type, use {@link EnumSet#noneOf} instead. Otherwise, strongly consider
       * using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get
       * deterministic iteration behavior.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    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

              K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMap<K, V> {
        /**
         * Creates the entry set to be returned by {@link #entrySet()}. This method is invoked at most
         * once on a given map, at the time when {@code entrySet} is first called.
         */
        abstract Set<Entry<K, V>> createEntrySet();
    
        @LazyInit @CheckForNull private transient Set<Entry<K, V>> entrySet;
    
    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/Iterators.java

        return new MergingIterator<>(iterators, comparator);
      }
    
      /**
       * An iterator that performs a lazy N-way merge, calculating the next value each time the iterator
       * is polled. This amortizes the sorting cost over the iteration and requires less memory than
       * sorting all elements at once.
       *
       * <p>Retrieving a single element takes approximately O(log(M)) time, where M is the number of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top