How to change a Java class to only accept objects extending the class java.util.Observable? Implementing the code so any time an object in another class changes its value, the set reorders itself. This is what I have:
public class DynamicSortedSet <E extends Observable> implements Comparator, SortedSet{
Aucun commentaire:
Enregistrer un commentaire