Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for lexicographicalComparator (0.16 sec)

  1. android/guava/src/com/google/common/primitives/SignedBytes.java

       * java.util.Arrays#equals(byte[], byte[])}.
       *
       * @since 2.0
       */
      public static Comparator<byte[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<byte[]> {
        INSTANCE;
    
        @Override
        public int compare(byte[] left, byte[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        }
      }
    
      public void testLexicographicalComparatorChoice() throws Exception {
        Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator();
        assertThat(defaultComparator).isNotNull();
        assertThat(UnsignedBytes.lexicographicalComparator()).isSameInstanceAs(defaultComparator);
        if (unsafeComparatorAvailable()) {
          assertThat(Class.forName(unsafeComparatorClassName()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * support only identity equality), but it is consistent with {@link Arrays#equals(long[],
       * long[])}.
       */
      public static Comparator<long[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      enum LexicographicalComparator implements Comparator<long[]> {
        INSTANCE;
    
        @Override
        public int compare(long[] left, long[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Booleans.java

       * boolean[])}.
       *
       * @since 2.0
       */
      public static Comparator<boolean[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<boolean[]> {
        INSTANCE;
    
        @Override
        public int compare(boolean[] left, boolean[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Booleans.java

       * boolean[])}.
       *
       * @since 2.0
       */
      public static Comparator<boolean[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<boolean[]> {
        INSTANCE;
    
        @Override
        public int compare(boolean[] left, boolean[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * support only identity equality), but it is consistent with {@link Arrays#equals(int[], int[])}.
       */
      public static Comparator<int[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      enum LexicographicalComparator implements Comparator<int[]> {
        INSTANCE;
    
        @Override
        // A call to bare "min" or "max" would resolve to our varargs method, not to any static import.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInts.java

       * support only identity equality), but it is consistent with {@link Arrays#equals(int[], int[])}.
       */
      public static Comparator<int[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      enum LexicographicalComparator implements Comparator<int[]> {
        INSTANCE;
    
        @Override
        // A call to bare "min" or "max" would resolve to our varargs method, not to any static import.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       * char[])}.
       *
       * @since 2.0
       */
      public static Comparator<char[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<char[]> {
        INSTANCE;
    
        @Override
        public int compare(char[] left, char[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * short[])}.
       *
       * @since 2.0
       */
      public static Comparator<short[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<short[]> {
        INSTANCE;
    
        @Override
        public int compare(short[] left, short[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Shorts.java

       * short[])}.
       *
       * @since 2.0
       */
      public static Comparator<short[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<short[]> {
        INSTANCE;
    
        @Override
        public int compare(short[] left, short[] right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top