Ok I understand that but how do I then use two of these Comparables in a Comparator interface? Syntax in Java is really confusing me and thanks for the response
Type: Posts; User: brisingrbrom
Ok I understand that but how do I then use two of these Comparables in a Comparator interface? Syntax in Java is really confusing me and thanks for the response
I have to implement a class which implements the Comparator interface which does this: Given two Comparables of identical type, give the reverse of the "natural"
ordering (from their built-in...