private static class RomanNumberFactory.RomanDigit extends Object
Modifier and Type | Field and Description |
---|---|
char |
digit
part of a roman number
|
boolean |
pre
can the digit be used as a prefix
|
int |
value
value of the roman digit
|
Constructor and Description |
---|
RomanDigit(char digit,
int value,
boolean pre)
Constructs a roman digit
|
public char digit
public int value
public boolean pre
RomanDigit(char digit, int value, boolean pre)
digit
- the roman digitvalue
- the valuepre
- can it be used as a prefixWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses