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