public class VelocityFormatter.VelocityAlternator extends Object
Modifier and Type | Field and Description |
---|---|
protected String[] |
alternates |
protected int |
current |
Constructor and Description |
---|
VelocityAlternator(String[] alternates)
Constructor takes an array of Strings.
|
Modifier and Type | Method and Description |
---|---|
String |
alternate()
Alternates to the next in the list.
|
String |
toString()
Returns the current alternate.
|
Copyright © 2000–2021. All rights reserved.