|
Groovy 1.8.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
groovy.lang.SpreadMap
public class SpreadMap extends HashMap
Represents a spreadable map which extends java.util.HashMap.
Constructor Summary | |
SpreadMap(Object[] values)
|
|
SpreadMap(Map map)
|
|
SpreadMap(List list)
@since 1.8.0 |
Method Summary | |
---|---|
boolean
|
equals(Object that)
|
boolean
|
equals(SpreadMap that)
|
Object
|
get(Object obj)
|
int
|
hashCode()
|
Object
|
put(Object key, Object value)
|
void
|
putAll(Map t)
|
Object
|
remove(Object key)
|
int
|
size()
|
String
|
toString()
@return the string expression of |
Methods inherited from class HashMap | |
---|---|
get, put, values, clone, clear, isEmpty, size, entrySet, putAll, remove, keySet, containsKey, containsValue, equals, toString, hashCode, wait, wait, wait, getClass, notify, notifyAll |
Methods inherited from class AbstractMap | |
---|---|
get, put, equals, toString, values, hashCode, clear, isEmpty, size, entrySet, putAll, remove, keySet, containsKey, containsValue, wait, wait, wait, getClass, notify, notifyAll |
Constructor Detail |
---|
public SpreadMap(Object[] values)
public SpreadMap(Map map)
public SpreadMap(List list)
list
- the list to make spreadable
Method Detail |
---|
public boolean equals(Object that)
public boolean equals(SpreadMap that)
public Object get(Object obj)
public int hashCode()
public Object put(Object key, Object value)
public void putAll(Map t)
public Object remove(Object key)
public int size()
public String toString()
this
Copyright © 2003-2011 The Codehaus. All rights reserved.