public class RomanNumberFactory extends Object
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.
|
static void |
main(String[] args)
Test this class using this main method.
|
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 numberpublic static final String getString(int index, boolean lowercase)
index
- the original numberpublic static void main(String[] args)
Copyright © 2018. All rights reserved.