|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.batch.core.BatchPowerSetValue
public class BatchPowerSetValue
Implements the power set parameter of the batch process.
| Constructor Summary | |
|---|---|
BatchPowerSetValue()
|
|
| Method Summary | |
|---|---|
void |
addValue(String value)
|
static List<String> |
createPowerSet(String list,
int min,
int max)
Creates the power set for the given list. |
int |
getMax()
Returns the maximal length of the list. |
int |
getMin()
Returns the minimal length of the list. |
List<String> |
getValues()
|
void |
setMax(int max)
Sets the maximal length of the list, |
void |
setMin(int min)
Sets the minimal length of the list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchPowerSetValue()
| Method Detail |
|---|
public void addValue(String value)
public List<String> getValues()
public static List<String> createPowerSet(String list,
int min,
int max)
list - the comma separated list.min - the minimal length of the lists.max - the maximal length of the lists.
public void setMax(int max)
max - the maximal length of the list. The value should be not larger
than the length of the original list but it should be larger
than getMin().public int getMax()
public void setMin(int min)
min - the minimal length of the list. The value should be larger than
0 and smaller than getMax().public int getMin()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||