public class RomanNumberFactory extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
RomanNumberFactory.RomanDigit
Helper class for Roman Digits
|
Modifier and Type | Field and Description |
---|---|
private static RomanNumberFactory.RomanDigit[] |
roman
Array with Roman digits.
|
Constructor and Description |
---|
RomanNumberFactory() |
Modifier and Type | Method and Description |
---|---|
static String |
getLowerCaseString(int index)
Changes an int into a lower case roman number.
|
static String |
getString(int index)
Changes an int into a lower case roman number.
|
static String |
getString(int index,
boolean lowercase)
Changes an int into a roman number.
|
static String |
getUpperCaseString(int index)
Changes an int into an upper case roman number.
|
private static final RomanNumberFactory.RomanDigit[] roman
public RomanNumberFactory()
public static final String getString(int index)
index
- the original numberpublic static final String getLowerCaseString(int index)
index
- the original numberpublic static final String getUpperCaseString(int index)
index
- the original numberWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses