Say I have a class called Player which implements Comparable. And I want to put the Player object into a TreeSet. Inside the Player class I have a compareTo method. Will then the TreeSet be automatically use the compareTo method inside the Player class to put the Player elements inside the TreeSet??