public class EventMaskValueList extends ArrayList<String>
modCount
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeIf, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals
parallelStream, stream
public EventMaskValueList()
public EventMaskValueList(Collection<String> c)
c
- a Collection
object.public EventMaskValueList(int initCapacity)
initCapacity
- a int.public EventMaskValueList(String value)
value
- the string to be added to this list.public boolean add(String o)
public void add(int index, String o)
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)
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)
protected void removeRange(int from, int to)
removeRange
in class ArrayList<String>
ArrayList.removeRange(int,int)
public boolean remove(String o)
o
- a String
object.ArrayList.remove(Object)
public boolean removeAll(Collection<?> o)
removeAll
in interface Collection<String>
removeAll
in interface List<String>
removeAll
in class ArrayList<String>
ArrayList.removeAll(Collection)
public void evaluateHashCode()
public int hashCode()
hashCode
in interface Collection<String>
hashCode
in interface List<String>
hashCode
in class AbstractList<String>
Copyright © 2021. All rights reserved.