sentence: java offers the interface to support sets ( with the class implementing it using a hash table ) , and the sub-interface to support sorted sets ( with the class implementing it using a binary search tree ) .