public class ParameterSet extends java.util.ArrayList<TrainingParameter>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
For serialization.
|
Constructor and Description |
---|
ParameterSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsParameter(TrainingParameter param)
Checks whether this set contains a parameter with the same
name as the given parameter.
|
TrainingParameter |
getParameter(TrainingParameter param)
Returns the parameter of this set with the same name as the given
parameter (or throws an IllegalArgumentException)
|
add, 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, toArray, trimToSize
private static final long serialVersionUID
public boolean containsParameter(TrainingParameter param)
param
- some parameterpublic TrainingParameter getParameter(TrainingParameter param)
param
- some parameter