toString() für OderMenge implementieren
This commit is contained in:
parent
035851ba79
commit
fcac7fb04f
@ -19,12 +19,7 @@ public class ConstraintsSet extends UndMenge<Pair>{
|
|||||||
public void add(KomplexeMenge<Pair> constraint){
|
public void add(KomplexeMenge<Pair> constraint){
|
||||||
this.addItems(constraint);
|
this.addItems(constraint);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString(){
|
|
||||||
String ret = "";
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
private UndConstraint constraintsSet;
|
private UndConstraint constraintsSet;
|
||||||
|
@ -75,4 +75,13 @@ public class OderMenge<A> implements KomplexeMenge<A>{
|
|||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString(){
|
||||||
|
String ret = "[";
|
||||||
|
for(KomplexeMenge<A> i : set){
|
||||||
|
ret += i.toString() + " |\n";
|
||||||
|
}
|
||||||
|
return ret + "]";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user