Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 154 for sorts (0.16 sec)

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

     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          return "UnsignedLongs.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the array, treating its elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. 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}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      @Override
      public List<AnEnum> order(List<AnEnum> insertionOrder) {
        Collections.sort(insertionOrder);
        return insertionOrder;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/SignedBytes.java

          return "SignedBytes.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(byte[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  6. 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) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  7. 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) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

          for (int i = 0; i < minLength; i++) {
            int result = Shorts.compare(left[i], right[i]);
            if (result != 0) {
              return result;
            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Shorts.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              factories.add(invokable);
            }
          }
        }
        for (Invokable<?, ?> factory : factories) {
          factory.setAccessible(true);
        }
        // Sorts methods/constructors with the least number of parameters first since it's likely easier
        // to fill dummy parameter values for them. Ties are broken by name then by the string form of
        // the parameter list.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    and, as there seemed to be no sort of chance of her ever getting
    out of the room again, no wonder she felt unhappy.
    
      `It was much pleasanter at home,' thought poor Alice, `when one
    wasn't always growing larger and smaller, and being ordered about
    by mice and rabbits.  I almost wish I hadn't gone down that
    rabbit-hole--and yet--and yet--it's rather curious, you know,
    this sort of life!  I do wonder what CAN have happened to me!
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top