|
|||||||||
| 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<String>
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(Collection<String> c)
constructor for this class |
|
EventMaskValueList(int initCapacity)
constructor for this class |
|
EventMaskValueList(String value)
the constructor for this class |
|
| Method Summary | |
|---|---|
void |
add(int index,
String o)
Override to re-evaluate hashcode |
boolean |
add(String o)
Override to re-evaluate hashcode |
boolean |
addAll(Collection<? extends String> o)
Override to re-evaluate hashcode |
boolean |
addAll(int index,
Collection<? extends String> 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. |
String |
remove(int index)
Override to re-evaluate hashcode |
boolean |
remove(String o)
Override to re-evaluate hashcode |
boolean |
removeAll(Collection o)
Override to re-evaluate hashcode |
protected void |
removeRange(int from,
int to)
Override to re-evaluate hashcode |
String |
set(int index,
String o)
Override to re-evaluate hashcode |
| Methods inherited from class java.util.ArrayList |
|---|
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, 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(Collection<String> c)
public EventMaskValueList(int initCapacity)
public EventMaskValueList(String value)
value - the string to be added to this list.| Method Detail |
|---|
public boolean add(String o)
add in interface Collection<String>add in interface List<String>add in class ArrayList<String>ArrayList.add(Object)
public void add(int index,
String o)
add in interface List<String>add in class ArrayList<String>ArrayList.add(int, Object)public boolean addAll(Collection<? extends String> o)
addAll in interface Collection<String>addAll in interface List<String>addAll in class ArrayList<String>ArrayList.addAll(Collection)
public boolean addAll(int index,
Collection<? extends String> o)
addAll in interface List<String>addAll in class ArrayList<String>ArrayList.addAll(int, Collection)public void clear()
clear in interface Collection<String>clear in interface List<String>clear in class ArrayList<String>ArrayList.clear()public String remove(int index)
remove in interface List<String>remove in class ArrayList<String>ArrayList.remove(int)
protected void removeRange(int from,
int to)
removeRange in class ArrayList<String>ArrayList.removeRange(int,int)public boolean remove(String o)
ArrayList.remove(Object)public boolean removeAll(Collection o)
removeAll in interface Collection<String>removeAll in interface List<String>removeAll in class AbstractCollection<String>AbstractCollection.removeAll(Collection)
public String set(int index,
String o)
set in interface List<String>set in class ArrayList<String>ArrayList.set(int,Object)public void evaluateHashCode()
public int hashCode()
hashCode in interface Collection<String>hashCode in interface List<String>hashCode in class AbstractList<String>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||