public interface Integer_To_RomanLiteral extends IsTransformer<Integer,String>
Takes an integer and returns a Roman number literal using upper case ASCII characters.
| Modifier and Type | Field and Description |
|---|---|
static String[] |
LETTERS
Array of Roman number literals.
|
static int[] |
NUMBERS
Array to convert numbers.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
convert(Integer number)
Takes an integer and returns a Roman number literal using upper case ASCII characters.
|
static Integer_To_RomanLiteral |
create()
Creates a transformer that takes an integer and returns a Roman number literal using upper case ASCII characters.
|
default String |
transform(Integer number)
Transforms from one representation to another.
|
apply, transformstatic final int[] NUMBERS
Array to convert numbers.
static final String[] LETTERS
Array of Roman number literals.
default String transform(Integer number)
TransformerTransforms from one representation to another.
transform in interface Transformer<Integer,String>number - input representationstatic Integer_To_RomanLiteral create()
Creates a transformer that takes an integer and returns a Roman number literal using upper case ASCII characters.
Copyright © 2016–2017. All rights reserved.