Class LazyString
- java.lang.Object
-
- net.florianschoppmann.issuetracking.util.LazyString
-
public final class LazyString extends Object
The LazyString class represents strings with lazy evaluation. Such a lazy-evaluation string can contain references to other objects that are evaluated (that is, converted into a string representation) only whentoStringWithContext(LazyContext)is called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLazyString.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object otherObject)inthashCode()static LazyStringof(String string)StringtoString()StringtoStringWithContext(LazyContext context)
-
-
-
Method Detail
-
of
public static LazyString of(String string)
-
toStringWithContext
public String toStringWithContext(LazyContext context)
-
-