toString() für OderMenge implementieren

This commit is contained in:
JanUlrich 2015-05-20 15:20:25 +02:00
parent 035851ba79
commit fcac7fb04f
2 changed files with 10 additions and 6 deletions

View File

@ -20,11 +20,6 @@ public class ConstraintsSet extends UndMenge<Pair>{
this.addItems(constraint);
}
public String toString(){
String ret = "";
return ret;
}
/*
private UndConstraint constraintsSet;

View File

@ -75,4 +75,13 @@ public class OderMenge<A> implements KomplexeMenge<A>{
}
return ret;
}
@Override
public String toString(){
String ret = "[";
for(KomplexeMenge<A> i : set){
ret += i.toString() + " |\n";
}
return ret + "]";
}
}