Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for orderedBy (0.11 sec)

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

       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse
       * of their natural ordering.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse
       * of their natural ordering.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          if (tmp == null) {
            return emptySet(comparator());
          }
          fromElement = tmp;
        }
        return tailSet(fromElement);
      }
    
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<E>(comparator);
      }
    
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<E>(Ordering.natural().reverse());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        }
        map.put(key, value);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<K, V>(Ordering.natural());
      }
    
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
        return new Builder<K, V>(comparator);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<K, V>(Ordering.natural().reverse());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of
       * their natural ordering.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of
       * their natural ordering.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

        return set;
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeSet} instance with the given comparator.
       *
       * <p><b>Note:</b> if mutability is not required, use {@code
       * ImmutableSortedSet.orderedBy(comparator).build()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeSet} constructor directly, taking advantage of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the given comparator.
       *
       * <p><b>Note:</b> if mutability is not required, use {@code
       * ImmutableSortedMap.orderedBy(comparator).build()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeMap} constructor directly, taking advantage of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the given comparator.
       *
       * <p><b>Note:</b> if mutability is not required, use {@code
       * ImmutableSortedMap.orderedBy(comparator).build()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeMap} constructor directly, taking advantage of <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

         *     this call (it is copied instead)
         * @return an unmodifiable, ordered map of results: the keys will be the specified quantile
         *     indexes, and the values the corresponding quantile values. When iterating, entries in the
         *     map are ordered by quantile index in the same order they were passed to the {@code
         *     indexes} method.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
Back to top