Implement Hexadecimal.java methods