Slight description editing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5953 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -31,10 +31,10 @@ import com.google.common.collect.Maps;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a map implementation that automatically creates, and inserts into the map, a default
|
* Provides a map implementation that automatically creates, and inserts into the map, a default
|
||||||
* value for keys with no value when a value is fetched via the {@link #get} method. Note that this
|
* value for any key fetched via the {@link #get} method which has no value. Note that this map
|
||||||
* map must assume that all keys supplied to {@link #get} are valid instances of the type specified
|
* must assume that all keys supplied to {@link #get} are valid instances of the type specified by
|
||||||
* by K as those keys will be used in a subsequent call to {@link #put}. Thus you must not call
|
* K as those keys will be used in a subsequent call to {@link #put}. Thus you must not call {@link
|
||||||
* {@link #get} with a key of invalid type or you will cause your map to become unsound.
|
* #get} with a key of invalid type or you will cause your map to become unsound.
|
||||||
*/
|
*/
|
||||||
public class DefaultMap<K, V> extends ForwardingMap<K, V>
|
public class DefaultMap<K, V> extends ForwardingMap<K, V>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user