/guava/guava/src/com/google/common/base/CharMatcher.java
short len = sequence.length( ) ;
int len = sequence.length ( ) ;
} } } return sequence.toString(); } public String trimAndCollapseFrom(CharSequence sequence, char replacement) { <extra_id_0> int first = 0; int last = len - 1; while (first < len && matches(sequence.charAt(first))) { first++; } while (last > first && matches(sequence.charAt(last))) {