From 29dc966f877b13df29d99c793eb61c340e6d0c86 Mon Sep 17 00:00:00 2001 From: yeom Date: Fri, 8 Jul 2011 21:26:17 +0000 Subject: [PATCH] override toString method for better debug message --- Robust/src/Util/Pair.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Robust/src/Util/Pair.java b/Robust/src/Util/Pair.java index 72fb22bc..0125f3c4 100644 --- a/Robust/src/Util/Pair.java +++ b/Robust/src/Util/Pair.java @@ -26,4 +26,9 @@ public class Pair { 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 -- 2.34.1