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:
parent
e3f754bec1
commit
1549d5cc12
|
@ -83,7 +83,7 @@ These represent maps where the the key can lookup the value and the value can lo
|
||||||
<source>
|
<source>
|
||||||
BidiMap bidi = new TreeBidiMap();
|
BidiMap bidi = new TreeBidiMap();
|
||||||
bidi.put("SIX", "6");
|
bidi.put("SIX", "6");
|
||||||
bidi.get("SIX"); // returns "six"
|
bidi.get("SIX"); // returns "6"
|
||||||
bidi.getKey("6"); // returns "SIX"
|
bidi.getKey("6"); // returns "SIX"
|
||||||
bidi.removeValue("6"); // removes the mapping
|
bidi.removeValue("6"); // removes the mapping
|
||||||
BidiMap inverse = bidi.inverseBidiMap(); // returns a map with keys and values swapped
|
BidiMap inverse = bidi.inverseBidiMap(); // returns a map with keys and values swapped
|
||||||
|
|
Loading…
Reference in New Issue