Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.makumba.commons
Class ArrayMap

    java.lang.Object
      java.util.Dictionary<String,Object>
          org.makumba.commons.ArrayMap

    public class ArrayMap

extends Dictionary<String,Object>

This class exports an Object[] array as a dictionary

Author:
  Cristian Bogdan

Field Summary
`Object[]` | `data`
`(package private) Dictionary<String,Integer>` | `keyIndex`

Constructor Summary
`ArrayMap()`
`ArrayMap(Dictionary<String,Integer> d, Object[] o)`

Method Summary
`Enumeration<Object>` | `elements()`
`Object` | `get(Object key)`
`(package private) Integer` | `index(Object key)`
`boolean` | `isEmpty()`
`Enumeration<String>` | `keys()`
`Object` | `put(String key, Object value)`
`Object` | `remove(Object key)`
`int` | `size()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### data

    public Object[] data

### keyIndex

    Dictionary<String,Integer> keyIndex

Constructor Detail

### ArrayMap

    public ArrayMap(Dictionary<String,Integer> d,
                    Object[] o)

### ArrayMap

    public ArrayMap()

Method Detail

### index

    Integer index(Object key)

### get

    public Object get(Object key)

  Specified by:
    `get` in class `Dictionary<String,Object>`

### put

    public Object put(String key,
                      Object value)

  Specified by:
    `put` in class `Dictionary<String,Object>`

### remove

    public Object remove(Object key)

  Specified by:
    `remove` in class `Dictionary<String,Object>`

### keys

    public Enumeration<String> keys()

  Specified by:
    `keys` in class `Dictionary<String,Object>`

### elements

    public Enumeration<Object> elements()

  Specified by:
    `elements` in class `Dictionary<String,Object>`

### size

    public int size()

  Specified by:
    `size` in class `Dictionary<String,Object>`

### isEmpty

    public boolean isEmpty()

  Specified by:
    `isEmpty` in class `Dictionary<String,Object>`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Docs generated on 2009-02-25 14:20