Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for abacatbab (0.12 sec)

  1. 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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. 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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

       * the beginning and from the end of the string. For example:
       *
       * <pre>{@code
       * CharMatcher.anyOf("ab").trimFrom("abacatbab")
       * }</pre>
       *
       * ... returns {@code "cat"}.
       *
       * <p>Note that:
       *
       * <pre>{@code
       * CharMatcher.inRange('\0', ' ').trimFrom(str)
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top