@FinalFieldsConstructor public class SeparatorRegions<T,R extends ITextSegment> extends Object implements Iterable<ObjectEntry<T,R>>
| Constructor and Description |
|---|
SeparatorRegions(ITextSegment root) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendWithTrailingSeparator(T object,
R separator) |
ITextSegment |
getRoot() |
Iterator<ObjectEntry<T,R>> |
iterator() |
void |
prepend(T object) |
void |
prependWithLeadingSeparator(T object,
R separator) |
Iterable<SeparatorEntry<T,R>> |
separators() |
String |
toString() |
public SeparatorRegions(ITextSegment root)
public void prepend(T object)
public Iterator<ObjectEntry<T,R>> iterator()
iterator in interface Iterable<ObjectEntry<T,R extends ITextSegment>>public Iterable<SeparatorEntry<T,R>> separators()
@Pure public ITextSegment getRoot()
Copyright © 2015. All Rights Reserved.