Sequence implements Comparable<Sequence> { @Override public String toString() { return score + " "+outcomes; } Sequence();  Sequence(Sequence s);  Sequence(Sequence s,String outcome, double p);  Sequence(List<String> outcomes); int compareTo(Sequence s); void add(String outcome, double p); List<String> getOutcomes(); double[] getProbs(); double getScore(); void getProbs(double[] ps); @Override String toString();  }
@Test public void testToString() { new Sequence().toString(); Sequence sequence = new Sequence(); sequence.add("test", 0.1d); sequence.toString(); }