groovy.lang
Class SpreadMap
java.lang.Object
java.util.AbstractMap
java.util.HashMap
groovy.lang.SpreadMap
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- public class SpreadMap
- extends HashMap
Represents a spreadable map which extends java.util.HashMap.
- Version:
- $Revision: 1.2 $
- Author:
- Pilho Kim
- See Also:
- Serialized Form
SpreadMap
public SpreadMap(Object[] values)
SpreadMap
public SpreadMap(Map map)
get
public Object get(Object obj)
put
public Object put(Object key,
Object value)
remove
public Object remove(Object key)
putAll
public void putAll(Map t)
size
public int size()
equals
public boolean equals(Object that)
equals
public boolean equals(SpreadMap that)
hashCode
public int hashCode()
toString
public String toString()
- Returns the string expression of
this
.
- Returns:
- the string expression of
this
Copyright © 2003-2005 The Codehaus. All Rights Reserved.