You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/01/06 23:19:14 UTC
cvs commit: jakarta-commons/collections/xdocs userguide.xml
scolebourne 2004/01/06 14:19:14
Modified: collections/xdocs userguide.xml
Log:
Fix typo in example code
Revision Changes Path
1.2 +1 -1 jakarta-commons/collections/xdocs/userguide.xml
Index: userguide.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/xdocs/userguide.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- userguide.xml 6 Jan 2004 00:44:20 -0000 1.1
+++ userguide.xml 6 Jan 2004 22:19:14 -0000 1.2
@@ -83,7 +83,7 @@
<source>
BidiMap bidi = new TreeBidiMap();
bidi.put("SIX", "6");
-bidi.get("SIX"); // returns "six"
+bidi.get("SIX"); // returns "6"
bidi.getKey("6"); // returns "SIX"
bidi.removeValue("6"); // removes the mapping
BidiMap inverse = bidi.inverseBidiMap(); // returns a map with keys and values swapped
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org