org.littleshoot.util
Class MapUtils

java.lang.Object
  extended by org.littleshoot.util.MapUtils

public final class MapUtils
extends Object

Utilities for common reader/writer functions.


Constructor Summary
MapUtils()
           
 
Method Summary
static Object removeFromMapValues(Map map, Object value)
          Removes the specified reader/writer from the values of the specified reader/writer map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapUtils

public MapUtils()
Method Detail

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.