projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d4f2d1
)
override toString method for better debug message
author
yeom
<yeom>
Fri, 8 Jul 2011 21:26:17 +0000
(21:26 +0000)
committer
yeom
<yeom>
Fri, 8 Jul 2011 21:26:17 +0000
(21:26 +0000)
Robust/src/Util/Pair.java
patch
|
blob
|
history
diff --git
a/Robust/src/Util/Pair.java
b/Robust/src/Util/Pair.java
index 72fb22bca172f856d72a7b7b4ac21c1e51aa07ea..0125f3c488b66aadffce45c7a0d8fb405730879c 100644
(file)
--- a/
Robust/src/Util/Pair.java
+++ b/
Robust/src/Util/Pair.java
@@
-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