public static class SimpleFormatterImpl.IterInternal extends Object
long state = 0;
while (true) {
state = IterInternal.step(state, compiledPattern, output);
if (state == IterInternal.DONE) {
break;
}
int argIndex = IterInternal.getArgIndex(state);
// Append the string corresponding to argIndex to output
}
| Modifier and Type | Field and Description |
|---|---|
static long |
DONE |
| Constructor and Description |
|---|
IterInternal() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getArgIndex(long state) |
static long |
step(long state,
CharSequence compiledPattern,
Appendable output) |
public static final long DONE
public static long step(long state,
CharSequence compiledPattern,
Appendable output)
public static int getArgIndex(long state)