Overview | Package | Class | Deprecated | Index | Help
| Groovy 1.7.0
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## groovy.lang
Class SpreadMap

    java.lang.Object
      java.util.AbstractMap
          java.util.HashMap
              groovy.lang.SpreadMap

    class SpreadMap
    extends HashMap

Represents a spreadable map which extends java.util.HashMap.

author:
  Pilho Kim

version:
  $Revision: 6778 $

Constructor Summary
`SpreadMap(Object[] values)`
`SpreadMap(Map map)`

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()` Returns the string expression of `this`.

Methods inherited from class HashMap
get, put, clone, clear, isEmpty, entrySet, putAll, size, values, remove, keySet, containsKey, containsValue, hashCode, equals, toString, wait, wait, wait, getClass, notify, notifyAll

Methods inherited from class AbstractMap
get, put, hashCode, clear, equals, toString, isEmpty, entrySet, putAll, size, values, remove, keySet, containsKey, containsValue, wait, wait, wait, getClass, notify, notifyAll

Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Constructor Detail

### SpreadMap

    public SpreadMap(Object[] values)

### SpreadMap

    public SpreadMap(Map map)

Method Detail

### equals

    public boolean equals(Object that)

### equals

    public boolean equals(SpreadMap that)

### get

    public Object get(Object obj)

### hashCode

    public int hashCode()

### put

    public Object put(Object key, Object value)

### putAll

    public void putAll(Map t)

### remove

    public Object remove(Object key)

### size

    public int size()

### toString

    public String toString()

  Returns the string expression of `this`.
  return:
    the string expression of `this`

Copyright © 2003-2009 The Codehaus. All rights reserved.