/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tekstid; /** * * @author Opetaja */ class PikkusteVordleja implements java.util.Comparator { @Override public int compare(String o1, String o2) { if(o1.length()==o2.length()){return 0;} if(o1.length()o2.length()){return 1;} throw new UnsupportedOperationException("Not supported yet."); } }