Searched refs:collapseFrom (Results 1 – 5 of 5) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | CharMatcherTest.java | 402 assertEqualsSame(expected, in, is('-').collapseFrom(in, replacement)); in doTestCollapse() 403 assertEqualsSame(expected, in, is('-').collapseFrom(in, replacement)); in doTestCollapse() 404 assertEqualsSame(expected, in, is('-').or(is('#')).collapseFrom(in, replacement)); in doTestCollapse() 405 assertEqualsSame(expected, in, isNot('x').collapseFrom(in, replacement)); in doTestCollapse() 406 assertEqualsSame(expected, in, is('x').negate().collapseFrom(in, replacement)); in doTestCollapse() 407 assertEqualsSame(expected, in, anyOf("-").collapseFrom(in, replacement)); in doTestCollapse() 408 assertEqualsSame(expected, in, anyOf("-#").collapseFrom(in, replacement)); in doTestCollapse() 409 assertEqualsSame(expected, in, anyOf("-#123").collapseFrom(in, replacement)); in doTestCollapse() 414 assertSame(inout, is('-').collapseFrom(inout, '_')); in doTestCollapseWithNoChange() 415 assertSame(inout, is('-').or(is('#')).collapseFrom(inout, '_')); in doTestCollapseWithNoChange() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CharMatcherTest.java | 471 assertEqualsSame(expected, in, is('-').collapseFrom(in, replacement)); in doTestCollapse() 472 assertEqualsSame(expected, in, is('-').collapseFrom(in, replacement)); in doTestCollapse() 473 assertEqualsSame(expected, in, is('-').or(is('#')).collapseFrom(in, replacement)); in doTestCollapse() 474 assertEqualsSame(expected, in, isNot('x').collapseFrom(in, replacement)); in doTestCollapse() 475 assertEqualsSame(expected, in, is('x').negate().collapseFrom(in, replacement)); in doTestCollapse() 476 assertEqualsSame(expected, in, anyOf("-").collapseFrom(in, replacement)); in doTestCollapse() 477 assertEqualsSame(expected, in, anyOf("-#").collapseFrom(in, replacement)); in doTestCollapse() 478 assertEqualsSame(expected, in, anyOf("-#123").collapseFrom(in, replacement)); in doTestCollapse() 483 assertSame(inout, is('-').collapseFrom(inout, '_')); in doTestCollapseWithNoChange() 484 assertSame(inout, is('-').or(is('#')).collapseFrom(inout, '_')); in doTestCollapseWithNoChange() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | WhitespaceMatcherBenchmark.java | 83 @Benchmark public int collapseFrom(int reps) { in collapseFrom() method in WhitespaceMatcherBenchmark 88 result += System.identityHashCode(matcher.collapseFrom(teststring, ' ')); in collapseFrom()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | CharMatcher.java | 298 @Override public String collapseFrom(CharSequence sequence, char replacement) { 370 @Override public String collapseFrom(CharSequence sequence, char replacement) { 1113 public String collapseFrom(CharSequence sequence, char replacement) { 1151 ? collapseFrom(sequence, replacement)
|
/external/guava/guava/src/com/google/common/base/ |
D | CharMatcher.java | 300 @Override public String collapseFrom(CharSequence sequence, char replacement) { 372 @Override public String collapseFrom(CharSequence sequence, char replacement) { 1270 public String collapseFrom(CharSequence sequence, char replacement) { 1308 ? collapseFrom(sequence, replacement)
|