Java's Comparable<Item> Implement for different types of data