public class MDDVariableFactory extends ArrayList<Object>
MDDManagerFactory creating multi-valued variables.
It is a simple list of variables, with a map to remember some maximal level and convenience method to add them.
Variables added using the standard List.add() method, will be considered as Boolean.modCount| Constructor and Description |
|---|
MDDVariableFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object key,
byte nbvalues)
Add a multi-valued variable to the list.
|
byte |
getNbValue(Object key)
Retrieve the number of values for a given variable.
|
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, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic boolean add(Object key, byte nbvalues)
add() method will add a Boolean variable.key - object used as key for the variablenbvalues - number of possible values, must be at least 2public byte getNbValue(Object key)
key - Copyright © 2009–2020. All rights reserved.