Search in sources :

Example 1 with LazyIntIterable

use of org.eclipse.collections.api.LazyIntIterable in project eclipse-collections by eclipse.

the class CodePointAdapter method toReversed.

@Override
public CodePointAdapter toReversed() {
    StringBuilder builder = new StringBuilder();
    LazyIntIterable reversed = this.asReversed();
    reversed.each(builder::appendCodePoint);
    return new CodePointAdapter(builder.toString());
}
Also used : LazyIntIterable(org.eclipse.collections.api.LazyIntIterable)

Aggregations

LazyIntIterable (org.eclipse.collections.api.LazyIntIterable)1