override toString method for better debug message
authoryeom <yeom>
Fri, 8 Jul 2011 21:26:17 +0000 (21:26 +0000)
committeryeom <yeom>
Fri, 8 Jul 2011 21:26:17 +0000 (21:26 +0000)
Robust/src/Util/Pair.java

index 72fb22bca172f856d72a7b7b4ac21c1e51aa07ea..0125f3c488b66aadffce45c7a0d8fb405730879c 100644 (file)
@@ -26,4 +26,9 @@ public class Pair<A,B> {
     return a.equals(t.a)&&(((b!=null)&&(t.b!=null)&&b.equals(t.b))||
                            ((b==null)&&(t.b==null)));
   }
+  
+  public String toString(){
+    return "<"+a+","+b+">";
+  }
+  
 }
\ No newline at end of file