Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for naturally (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                  new LinkedHashSetSupplier<V>(expectedValuesPerKey));
            }
          };
        }
    
        /** Uses a naturally-ordered {@link TreeSet} to store value collections. */
        @SuppressWarnings("rawtypes")
        public SortedSetMultimapBuilder<K0, Comparable> treeSetValues() {
          return treeSetValues(Ordering.natural());
        }
    
        /**
         * Uses a {@link TreeSet} ordered by the specified comparator to store value collections.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/SortedLists.java

        abstract int resultIndex(int higherIndex);
      }
    
      /**
       * Searches the specified naturally ordered list for the specified object using the binary search
       * algorithm.
       *
       * <p>Equivalent to {@link #binarySearch(List, Function, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Ordering#natural}.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/SortedLists.java

        abstract int resultIndex(int higherIndex);
      }
    
      /**
       * Searches the specified naturally ordered list for the specified object using the binary search
       * algorithm.
       *
       * <p>Equivalent to {@link #binarySearch(List, Function, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Ordering#natural}.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/TopKSelector.java

       * relative to the natural ordering of the elements, and returns them via {@link #topK} in
       * ascending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
        return least(k, Ordering.natural());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Optional.java

     * href="https://github.com/google/guava/wiki/UsingAndAvoidingNullExplained#optional">using {@code
     * Optional}</a>.
     *
     * @param <T> the type of instance that can be contained. {@code Optional} is naturally covariant on
     *     this type, so it is safe to cast an {@code Optional<T>} to {@code Optional<S>} for any
     *     supertype {@code S} of {@code T}.
     * @author Kurt Alfred Kluever
     * @author Kevin Bourrillion
     * @since 10.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * requirement that existing callers already fulfill).
     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns the first element in {@code iterable} that satisfies the given predicate, or {@code
       * defaultValue} if none found. Note that this can usually be handled more naturally using {@code
       * tryFind(iterable, predicate).or(defaultValue)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.filter(predicate).findFirst().orElse(defaultValue)}
       *
       * @since 7.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1, E e2, E e3) {
        return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3));
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        }
    
        /** Sorts the elements in reverse natural order. */
        @SuppressWarnings("CanIgnoreReturnValueSuggester") // see ImmutableSortedSetExplicitComparator
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          sort(insertionOrder, Ordering.<Integer>natural().reverse());
          return insertionOrder;
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  @Override
                  public SortedSet<String> create(String[] elements) {
                    return new TreeSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top