Skip to content

Instantly share code, notes, and snippets.

Created Jun 12, 2020
What would you like to do?
private static final NavigableMap<Integer, String> ROMAN_NUMERALS = new TreeMap<>() {
put(1, "I");
put(4, "IV");
put(5, "V");
put(9, "IX");
put(10, "X");
put(50, "L");
put(90, "XC");
put(100, "C");
put(500, "D");
put(900, "CM");
put(1000, "M");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment