- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for catbab (0.03 sec)
-
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimLeadingFrom("x-x-", "x-x-"); doTestTrimLeadingFrom("x-xx", "x-xx"); doTestTrimLeadingFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertEquals("catbab", anyOf("ab").trimLeadingFrom("abacatbab")); } private void doTestTrimLeadingFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x'
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimLeadingFrom("x-x-", "x-x-"); doTestTrimLeadingFrom("x-xx", "x-xx"); doTestTrimLeadingFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertEquals("catbab", anyOf("ab").trimLeadingFrom("abacatbab")); } private void doTestTrimLeadingFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x'
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
* the beginning of the string. For example: * * {@snippet : * CharMatcher.anyOf("ab").trimLeadingFrom("abacatbab") * } * * ... returns {@code "catbab"}. */ public String trimLeadingFrom(CharSequence sequence) { int len = sequence.length(); for (int first = 0; first < len; first++) { if (!matches(sequence.charAt(first))) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0)