Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for natural (0.19 sec)

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

       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      private static final ImmutableSortedMap<Comparable<?>, Object> NATURAL_EMPTY_MAP =
          new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(Ordering.natural()), ImmutableList.<Object>of());
    
      static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) {
        if (Ordering.natural().equals(comparator)) {
          return of();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
      private static final ImmutableSortedMap<Comparable<?>, Object> NATURAL_EMPTY_MAP =
          new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(Ordering.natural()), ImmutableList.<Object>of());
    
      static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) {
        if (Ordering.natural().equals(comparator)) {
          return of();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * description of the returned view's behavior.
       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
       *
    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)
  4. guava/src/com/google/common/base/Preconditions.java

       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
       * refactored so that messageExpression is moved to a separate String-returning method.
       *
       * if (guardExpression) {
       *    throw new BadException(badMsg(...));
       * }
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("Sets.unmodifiableNavigableSet[TreeSet]")
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Preconditions.java

       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
       * refactored so that messageExpression is moved to a separate String-returning method.
       *
       * if (guardExpression) {
       *    throw new BadException(badMsg(...));
       * }
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

          Map<K, Integer> map = Maps.newHashMap();
          for (K type : types) {
            collectTypes(type, map);
          }
          return sortKeysByValue(map, Ordering.natural().reverse());
        }
    
        /** Collects all types to map, and returns the total depth from T up to Object. */
        @CanIgnoreReturnValue
        private int collectTypes(K type, Map<? super K, Integer> map) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  8. maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle

    t.558525562286377Rotat{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica;} {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural \f0\fs24 \cf0 binding, project}AllowLabelDropfalseC{398, 209.12}{550.5, 210.592}StylestrokeHeadArrow.4285709857940674Tail.5TailID79Bounds{{550.5, 203.842}, {17, 27}}ClassShapedGraphicHF{1, 0.5}{1, -0.5}{-1, 0.5}{-1, -0.5}{0.5, 1}{-0.5, 1}{0.5, -1}{-0.5,...
    Others
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Mar 11 17:19:02 GMT 2017
    - 96.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterators.java

       * element is found, {@code defaultValue} will be returned from this method and the iterator will
       * be left exhausted: its {@code hasNext()} method will return {@code false}. Note that this can
       * usually be handled more naturally using {@code tryFind(iterator, predicate).or(defaultValue)}.
       *
       * @since 7.0
       */
      // For discussion of this signature, see the corresponding overload of *Iterables*.find.
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       * element is found, {@code defaultValue} will be returned from this method and the iterator will
       * be left exhausted: its {@code hasNext()} method will return {@code false}. Note that this can
       * usually be handled more naturally using {@code tryFind(iterator, predicate).or(defaultValue)}.
       *
       * @since 7.0
       */
      // For discussion of this signature, see the corresponding overload of *Iterables*.find.
      @CheckForNull
    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