Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testLexicographical (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
        Comparator<String> comparator = Ordering.natural();
        Comparator<Iterable<String>> lexy = Comparators.lexicographical(comparator);
    
        ImmutableList<String> empty = ImmutableList.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            .testEquals();
        reserializeAndAssert(comparator);
        assertEquals("Ordering.natural().reverse().onResultOf(StringLength)", comparator.toString());
      }
    
      public void testLexicographical() {
        Ordering<String> ordering = Ordering.natural();
        Ordering<Iterable<String>> lexy = ordering.lexicographical();
    
        ImmutableList<String> empty = ImmutableList.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

            .testEquals();
        reserializeAndAssert(comparator);
        assertEquals("Ordering.natural().reverse().onResultOf(StringLength)", comparator.toString());
      }
    
      public void testLexicographical() {
        Ordering<String> ordering = Ordering.natural();
        Ordering<Iterable<String>> lexy = ordering.lexicographical();
    
        ImmutableList<String> empty = ImmutableList.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top