public class RomanAlphabetFactory extends Object
Constructor and Description |
---|
RomanAlphabetFactory() |
Modifier and Type | Method and Description |
---|---|
static String |
getLowerCaseString(int index)
Translates a positive integer (not equal to zero)
into a String using the letters 'a' to 'z';
1 = a, 2 = b, ..., 26 = z, 27 = aa, 28 = ab,...
|
static String |
getString(int index)
Translates a positive integer (not equal to zero)
into a String using the letters 'a' to 'z';
1 = a, 2 = b, ..., 26 = z, 27 = aa, 28 = ab,...
|
static String |
getString(int index,
boolean lowercase)
Translates a positive integer (not equal to zero)
into a String using the letters 'a' to 'z'
(a = 1, b = 2, ..., z = 26, aa = 27, ab = 28,...).
|
static String |
getUpperCaseString(int index)
Translates a positive integer (not equal to zero)
into a String using the letters 'A' to 'Z';
1 = A, 2 = B, ..., 26 = Z, 27 = AA, 28 = AB,...
|
public RomanAlphabetFactory()
public static final String getString(int index)
index
- the indexpublic static final String getLowerCaseString(int index)
index
- the int to translatepublic static final String getUpperCaseString(int index)
index
- the int to translatepublic static final String getString(int index, boolean lowercase)
index
- the int to translatelowercase
- true if the string sshould be lowercase false otherwiseWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses