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