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 class
LazyString.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object otherObject)
int
hashCode()
static LazyString
of(String string)
String
toString()
String
toStringWithContext(LazyContext context)
-
-
-
Method Detail
-
of
public static LazyString of(String string)
-
toStringWithContext
public String toStringWithContext(LazyContext context)
-
-