The new methods in the Java 8 version of Comparator
are default methods (a new feature in Java 8) which not only include the method signature, but also a default implementation. Thus, older Comparator
implementations should work just fine on Java 8 if they worked before.
If something is not working, please let us know what you are trying and what the error message is.