public class LazilyFormattedString extends Object
Formatter
string and a set of values. When
toString()
is called the format string is filled in with the given values. This allows for lazy evaluation
of the value objects formatting function which may be expensive.Modifier and Type | Field and Description |
---|---|
private Object[] |
arguments
The values that are filled in to the template string.
|
private String |
template
The template that is filled in with the values.
|
Constructor and Description |
---|
LazilyFormattedString(String stringTemplate,
Object... templateArguments)
Constructor.
|
Copyright © 1999–2016. All rights reserved.