|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.opennms.netmgt.eventd.datablock.EventMaskValueList
public class EventMaskValueList
The maskelement values in a 'EventKey' are stored in this ArrayList subclass This list is pretty much constant once it constructed - so the hashcode is evaluated once at construction and reused(if new values are added or values changed, hashcode is re-evaluated)
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
EventMaskValueList()
Default constructor for this class |
|
EventMaskValueList(java.util.Collection c)
constructor for this class |
|
EventMaskValueList(int initCapacity)
constructor for this class |
|
EventMaskValueList(java.lang.String value)
the constructor for this class |
|
| Method Summary | |
|---|---|
void |
add(int index,
java.lang.Object o)
Override to re-evaluate hashcode |
boolean |
add(java.lang.Object o)
Override to re-evaluate hashcode |
boolean |
addAll(java.util.Collection o)
Override to re-evaluate hashcode |
boolean |
addAll(int index,
java.util.Collection o)
Override to re-evaluate hashcode |
void |
clear()
Override to re-evaluate hashcode |
void |
evaluateHashCode()
Evaluate the hash code for this object |
int |
hashCode()
Overrides the 'hashCode()' method in the superclass. |
java.lang.Object |
remove(int index)
Override to re-evaluate hashcode |
boolean |
remove(java.lang.Object o)
Override to re-evaluate hashcode |
boolean |
removeAll(java.util.Collection o)
Override to re-evaluate hashcode |
protected void |
removeRange(int from,
int to)
Override to re-evaluate hashcode |
java.lang.Object |
set(int index,
java.lang.Object o)
Override to re-evaluate hashcode |
| Methods inherited from class java.util.ArrayList |
|---|
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, iterator, listIterator, listIterator, retainAll, subList |
| Constructor Detail |
|---|
public EventMaskValueList()
public EventMaskValueList(java.util.Collection c)
public EventMaskValueList(int initCapacity)
public EventMaskValueList(java.lang.String value)
value - the string to be added to this list.| Method Detail |
|---|
public boolean add(java.lang.Object o)
add in interface java.util.Collectionadd in interface java.util.Listadd in class java.util.ArrayListArrayList.add(Object)
public void add(int index,
java.lang.Object o)
add in interface java.util.Listadd in class java.util.ArrayListArrayList.add(int, Object)public boolean addAll(java.util.Collection o)
addAll in interface java.util.CollectionaddAll in interface java.util.ListaddAll in class java.util.ArrayListArrayList.addAll(Collection)
public boolean addAll(int index,
java.util.Collection o)
addAll in interface java.util.ListaddAll in class java.util.ArrayListArrayList.addAll(int, Collection)public void clear()
clear in interface java.util.Collectionclear in interface java.util.Listclear in class java.util.ArrayListArrayList.clear()public java.lang.Object remove(int index)
remove in interface java.util.Listremove in class java.util.ArrayListArrayList.remove(int)
protected void removeRange(int from,
int to)
removeRange in class java.util.ArrayListArrayList.removeRange(int,int)public boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in interface java.util.Listremove in class java.util.ArrayListArrayList.remove(Object)public boolean removeAll(java.util.Collection o)
removeAll in interface java.util.CollectionremoveAll in interface java.util.ListremoveAll in class java.util.AbstractCollectionAbstractCollection.removeAll(Collection)
public java.lang.Object set(int index,
java.lang.Object o)
set in interface java.util.Listset in class java.util.ArrayListArrayList.set(int,Object)public void evaluateHashCode()
public int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class java.util.AbstractList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||