|
Diamond Control Suite 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList diamondedge.util.HashList
public class HashList
Field Summary | |
---|---|
static int |
AFTER
|
static int |
BEFORE
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
HashList()
|
Method Summary | |
---|---|
void |
add(int index,
Object value)
|
boolean |
add(Object value)
|
void |
add(Object value,
Object key)
|
void |
add(Object value,
Object key,
int index)
|
void |
add(Object value,
Object key,
int index,
int beforeOrAfter)
|
void |
add(Object value,
Object key,
Object relativeKey,
int beforeOrAfter)
|
void |
changeKey(Object key,
Object newkey)
|
void |
clear()
Removes all elements from the List. |
boolean |
containsKey(Object key)
Returns true if this map contains a mapping for the specified key. |
boolean |
containsValue(Object value)
Returns true if this map maps one or more keys to the specified value. |
Set |
entrySet()
|
Object |
get(int index)
Returns the value at the specified position in this list. |
Object |
get(Object key)
Returns the value to which this map maps the specified key. |
int |
getIndex(Object key)
return 0-based index for key |
Object |
getKey(int index)
return key for value at specified index |
String |
getNextKey()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map t)
|
Object |
remove(int index)
Remove an element based on its position in the List. |
boolean |
remove(Object value)
Remove the specified element, value, from the List. |
Object |
removeKey(Object key)
Remove an element based on its key. |
Object |
set(int index,
Object value)
|
Object |
set(Object key,
Object value)
|
void |
setKey(int index,
Object newkey)
|
int |
size()
|
Collection |
values()
|
Methods inherited from class java.util.AbstractList |
---|
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
addAll, addAll, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, retainAll, subList, toArray, toArray |
Field Detail |
---|
public static final int BEFORE
public static final int AFTER
Constructor Detail |
---|
public HashList()
Method Detail |
---|
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public Object get(int index)
get
in interface List
get
in class AbstractList
public Object get(Object key)
public Object set(int index, Object value)
set
in interface List
set
in class AbstractList
public Object set(Object key, Object value)
public boolean add(Object value)
add
in interface Collection
add
in interface List
add
in class AbstractList
public void add(int index, Object value)
add
in interface List
add
in class AbstractList
public void add(Object value, Object key)
public void add(Object value, Object key, Object relativeKey, int beforeOrAfter)
public void add(Object value, Object key, int index)
public void add(Object value, Object key, int index, int beforeOrAfter)
public Object remove(int index)
remove
in interface List
remove
in class AbstractList
public Object removeKey(Object key)
public boolean remove(Object value)
remove
in interface Collection
remove
in interface List
remove
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class AbstractList
public int getIndex(Object key)
public Object getKey(int index)
public void setKey(int index, Object newkey)
public void changeKey(Object key, Object newkey)
public String getNextKey()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public Object put(Object key, Object value)
public void putAll(Map t)
public Set keySet()
public Collection values()
public Set entrySet()
|
Diamond Control Suite 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |