public class ModifierList extends ArrayList<Modifier>
modCount| Constructor and Description |
|---|
ModifierList()
Instantiates a new modifier list.
|
ModifierList(Collection<? extends Modifier> params)
Instantiates a new modifier list.
|
ModifierList(Modifier... params)
Instantiates a new modifier list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Modifier e) |
<T> void |
addParameter(String name)
Adds the parameter.
|
Modifier |
getParameterForName(String name)
Gets the parameter for name.
|
void |
removeParameter(String name)
Removes the parameter.
|
void |
setParameters(ModifierList params)
Sets the parameters.
|
Modifier[] |
toArray() |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic ModifierList()
public ModifierList(Collection<? extends Modifier> params)
params - the paramspublic ModifierList(Modifier... params)
params - the paramspublic boolean add(Modifier e)
public <T> void addParameter(String name)
T - the generic typename - the namepublic Modifier getParameterForName(String name)
name - the namepublic void removeParameter(String name)
name - the namepublic void setParameters(ModifierList params)
params - the new parametersCopyright © 2018. All rights reserved.