Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testLexicographicalComparator (0.09 sec)

  1. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        assertThat(SignedBytes.join(",", (byte) -128, (byte) -1)).isEqualTo("-128,-1");
      }
    
      @J2ktIncompatible // b/285319375
      public void testLexicographicalComparator() {
        List<byte[]> ordered =
            Arrays.asList(
                new byte[] {},
                new byte[] {LEAST},
                new byte[] {LEAST, LEAST},
                new byte[] {LEAST, (byte) 1},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

                    (int) 0x12345678L,
                    (int) 0x5a4316b8L,
                    (int) 0xff1a618bL,
                    (int) 0L))
            .isEqualTo((int) 0L);
      }
    
      public void testLexicographicalComparator() {
        List<int[]> ordered =
            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        } else {
          assertThat(defaultComparator).isEqualTo(UnsignedBytes.lexicographicalComparatorJavaImpl());
        }
      }
    
      public void testLexicographicalComparator() {
        List<byte[]> ordered =
            Arrays.asList(
                new byte[] {},
                new byte[] {LEAST},
                new byte[] {LEAST, LEAST},
                new byte[] {LEAST, (byte) 1},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.join(",", '1')).isEqualTo("1");
        assertThat(Chars.join(",", '1', '2')).isEqualTo("1,2");
        assertThat(Chars.join("", '1', '2', '3')).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<char[]> ordered =
            Arrays.asList(
                new char[] {},
                new char[] {LEAST},
                new char[] {LEAST, LEAST},
                new char[] {LEAST, (char) 1},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.join(",", 1.3, 2.4)).isEqualTo("1.3,2.4");
        assertThat(Doubles.join("", 1.4, 2.5, 3.6)).isEqualTo("1.42.53.6");
      }
    
      public void testLexicographicalComparator() {
        List<double[]> ordered =
            Arrays.asList(
                new double[] {},
                new double[] {LEAST},
                new double[] {LEAST, LEAST},
                new double[] {LEAST, 1.0},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.join(",", (int) 1, (int) 2)).isEqualTo("1,2");
        assertThat(Ints.join("", (int) 1, (int) 2, (int) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<int[]> ordered =
            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.join(",", false, true)).isEqualTo("false,true");
        assertThat(Booleans.join("", false, true, false)).isEqualTo("falsetruefalse");
      }
    
      public void testLexicographicalComparator() {
        List<boolean[]> ordered =
            Arrays.asList(
                new boolean[] {},
                new boolean[] {false},
                new boolean[] {false, false},
                new boolean[] {false, true},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 25.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.join(",", (short) 1, (short) 2)).isEqualTo("1,2");
        assertThat(Shorts.join("", (short) 1, (short) 2, (short) 3)).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<short[]> ordered =
            Arrays.asList(
                new short[] {},
                new short[] {LEAST},
                new short[] {LEAST, LEAST},
                new short[] {LEAST, (short) 1},
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top