/guava/android/guava/src/com/google/common/base/CharMatcher.java
: finishCollapseFrom( sequence, last + 1, replacement, new StringBuilder( last + 1 - first) , false) ;
: finishCollapseFrom ( sequence, first, last + 1, replacement, new StringBuilder ( last + 1 - first ) , false ) ;
} while (last > first && matches(sequence.charAt(last))) { last--; } return (first == 0 && last == len - 1) ? collapseFrom(sequence, replacement) <extra_id_0> } private String finishCollapseFrom( CharSequence sequence, int start, int end, char replacement,