Fix typo in example code

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131535 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-01-06 22:19:14 +00:00
parent e3f754bec1
commit 1549d5cc12
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ These represent maps where the the key can lookup the value and the value can lo
<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