Package org.organicdesign.fp.indent
Interface Indented
-
- All Known Implementing Classes:
RrbTree,RrbTree.ImRrbt,RrbTree.MutRrbt
public interface IndentedCreated by gpeterso on 5/21/17.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringindentedStr(int indent)Returns a string where line breaks extend the given amount of indentation.
-
-
-
Method Detail
-
indentedStr
@NotNull @NotNull String indentedStr(int indent)
Returns a string where line breaks extend the given amount of indentation.- Parameters:
indent- the amount of indent to start at. Pretty-printed subsequent lines may have additional indent.- Returns:
- a string with the given starting offset (in spaces) for every line.
-
-