toString zu UndMenge hinzugefügt

This commit is contained in:
JanUlrich 2015-05-07 14:41:13 +02:00
parent d343c27edb
commit 5e5a17b265
2 changed files with 9 additions and 1 deletions

View File

@ -64,6 +64,14 @@ public class UndMenge<A> implements KomplexeMenge<A>{
} }
return ret; return ret;
} }
public String toString(){
String ret = "[";
for(KomplexeMenge<A> item : set){
ret += item.toString() + "\n";
}
return ret + "]";
}
} }

View File

@ -1,4 +1,4 @@
import de.dhbwstuttgart.typeinference.Vector; import java.util.Vector;
class Matrix extends Vector<Vector<Integer>> { class Matrix extends Vector<Vector<Integer>> {