Skip to content

Instantly share code, notes, and snippets.

@theboreddev
Created June 12, 2020 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theboreddev/2a6b7b78ad781730e29f3d0a77f5fbac to your computer and use it in GitHub Desktop.
Save theboreddev/2a6b7b78ad781730e29f3d0a77f5fbac to your computer and use it in GitHub Desktop.
newEquivalences
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