title: java compare to different options
body: <p>I have implemented compareTo to allow me to compare my class' based on some criteria and it is working fine.</p>
  
  <p>However, at some point I want to compare the class' on one thing and at another point in the code I want to compare the class based on another thing.</p>
  
  <p>Is it possible to have two different implementations of compareTo and using one at some point and one at another?</p>