org.littleshoot.util
Class MapUtils
java.lang.Object
org.littleshoot.util.MapUtils
public final class MapUtils
- extends Object
Utilities for common reader/writer functions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapUtils
public MapUtils()
removeFromMapValues
public static Object removeFromMapValues(Map map,
Object value)
- Removes the specified reader/writer from the values of the specified
reader/writer map. Many times classes will contain maps of some key
to reader/writers, and this method simply allows those classes to easily
remove those values.
- Parameters:
map - The map mapping some key to reader/writers.value - The reader/writer to remove.
- Returns:
- The key for the object removed, or
null if nothing
was removed.
Copyright © 2011-2013 LittleShoot. All Rights Reserved.