public class FormattedString
extends java.lang.Object
String.format(String, Object...)
in a toString, i.e. using %s syntax,
useful for places where we want deferred evaluation
(e.g. as message to Preconditions
to skip concatenation when not needed)Constructor and Description |
---|
FormattedString(java.lang.String pattern,
java.lang.Object[] args) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
getArgs() |
java.lang.String |
getPattern() |
<any> |
supplier() |
java.lang.String |
toString() |