From 8ad53249533b2a848fe5e0a59729fef9dd7098f0 Mon Sep 17 00:00:00 2001
From: Gary Gregory
* After the above code is executed, {@code obj} will contain a new {@code Date} instance. Furthermore, * that {@code Date} instance is the value for the {@code "test"} key in the map. @@ -1623,25 +1623,20 @@ private static void printIndent(final PrintStream out, final int indent) { *
* For example, to create a color map: *
- * ** Map colorMap = MapUtils.putAll(new HashMap(), * new String[][] { { "RED", "#FF0000" }, { "GREEN", "#00FF00" }, { "BLUE", "#0000FF" } }); *- * *
* or: *
- * ** Map colorMap = MapUtils.putAll(new HashMap(), * new String[] { "RED", "#FF0000", "GREEN", "#00FF00", "BLUE", "#0000FF" }); *- * *
* or: *
- * ** Map colorMap = MapUtils.putAll(new HashMap(), new Map.Entry[] { new DefaultMapEntry("RED", "#FF0000"), * new DefaultMapEntry("GREEN", "#00FF00"), new DefaultMapEntry("BLUE", "#0000FF") }); @@ -1734,7 +1729,6 @@ public static int size(final Map, ?> map) { ** You must manually synchronize on the returned buffer's iterator to avoid non-deterministic behavior: *
- * ** Map m = MapUtils.synchronizedMap(myMap); * Sets s = m.keySet(); // outside synchronized block @@ -1745,7 +1739,6 @@ public static int size(final Map, ?> map) { * } * } *- * ** This method uses the implementation in {@link java.util.Collections Collections}. *
@@ -1764,7 +1757,6 @@ public staticMap synchronizedMap(final Map map) { * * You must manually synchronize on the returned buffer's iterator to avoid non-deterministic behavior: *
- * ** Map m = MapUtils.synchronizedSortedMap(myMap); * Sets s = m.keySet(); // outside synchronized block @@ -1775,7 +1767,6 @@ public static- * *Map synchronizedMap(final Map map) { * } * } * * This method uses the implementation in {@link java.util.Collections Collections}. *