Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 489 for sorts (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return checkedCreate(nullCheckedTreeSet(elements)).descendingSet();
        }
    
        /** 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;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

        }
        return array;
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(char[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Floats.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * <p>Note that this method uses the total order imposed by {@link Float#compare}, which treats
       * all NaN values as equal and 0.0 as greater than -0.0.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Doubles.java

            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Doubles.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * <p>Note that this method uses the total order imposed by {@link Double#compare}, which treats
       * all NaN values as equal and 0.0 as greater than -0.0.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Comparators.java

     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    public final class Comparators {
      private Comparators() {}
    
      /**
       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (ot == null) {
                final String sorts = getQueryCollapseInnerHitsSorts();
                if (StringUtil.isBlank(sorts)) {
                    ot = OptionalThing.empty();
                } else {
                    final SortBuilder[] sortBuilders = split(sorts, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

          return "Ints.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(int[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            this.additionalQuery = additionalQuery;
        }
    
        /**
         * Adds a default sort configuration to be applied when no explicit sorting is specified.
         * This method appends the new sort to existing default sorts.
         *
         * @param fieldName the field name to sort by
         * @param order the sort order ("ASC" or "DESC")
         */
        public void addDefaultSort(final String fieldName, final String order) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

          return "Longs.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(long[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        return Arrays.asList(method.getExceptionTypes()).contains(InterruptedException.class);
      }
    
      /** Sorts the given methods primarily by name and secondarily by number of parameters. */
      private static void sortMethods(Method[] methods) {
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method m1, Method m2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top