Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for neutral (0.2 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-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)
  5. 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)
  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. CHANGELOG/CHANGELOG-1.3.md

    * enable recursive processing in kubectl rollout ([#25110](https://github.com/kubernetes/kubernetes/pull/25110), [@metral](https://github.com/metral))
    * Support struct,array,slice types when sorting kubectl output ([#25022](https://github.com/kubernetes/kubernetes/pull/25022), [@zhouhaibing089](https://github.com/zhouhaibing089))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Viewed (0)
  8. 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)
Back to top