Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cat (0.15 sec)

  1. guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestTrimFrom("x-x-", "x-x");
        doTestTrimFrom("x-xx", "x-xx");
        doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x");
        // additional testing using the doc example
        assertEquals("cat", anyOf("ab").trimFrom("abacatbab"));
      }
    
      private void doTestTrimFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
        assertEquals(out, is('-').trimFrom(in));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestTrimFrom("x-x-", "x-x");
        doTestTrimFrom("x-xx", "x-xx");
        doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x");
        // additional testing using the doc example
        assertEquals("cat", anyOf("ab").trimFrom("abacatbab"));
      }
    
      private void doTestTrimFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
        assertEquals(out, is('-').trimFrom(in));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top