org.apache.openejb.util
Class Index<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.apache.openejb.util.Index<K,V>
- All Implemented Interfaces:
- Map<K,V>
public class Index<K,V>
- extends AbstractMap<K,V>
- Version:
- $Revision: 495820 $ $Date: 2007-01-13 03:25:48 +0100 (Sa, 13. Jan 2007) $
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString |
Index
public Index(Map<K,V> map)
Index
public Index(List<K> keys)
Index
public Index(K[] keys)
values
public List<V> values()
- Specified by:
values
in interface Map<K,V>
- Overrides:
values
in class AbstractMap<K,V>
entrySet
public Set<Map.Entry<K,V>> entrySet()
- Specified by:
entrySet
in interface Map<K,V>
- Specified by:
entrySet
in class AbstractMap<K,V>
getKey
public K getKey(int index)
get
public V get(int index)
set
public V set(int index,
V value)
put
public V put(K key,
V value)
- Specified by:
put
in interface Map<K,V>
- Overrides:
put
in class AbstractMap<K,V>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map<K,V>
- Overrides:
containsKey
in class AbstractMap<K,V>
indexOf
public int indexOf(K key)
get
public V get(Object key)
- Specified by:
get
in interface Map<K,V>
- Overrides:
get
in class AbstractMap<K,V>
iterator
public Iterator<V> iterator()
listIterator
public ListIterator<V> listIterator()
listIterator
public ListIterator<V> listIterator(int index)
toArray
public Object[] toArray()
toArray
public Object[] toArray(Object[] values)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.