public class PropertyPermutations extends Object implements Iterable<String[]>
Properties.getBindingProperties()
.Constructor and Description |
---|
PropertyPermutations(Properties properties,
Set<String> activeLinkerNames) |
PropertyPermutations(PropertyPermutations allPermutations,
List<String[]> values)
Copy constructor that allows the list of property values to be reset.
|
Modifier and Type | Method and Description |
---|---|
List<PropertyPermutations> |
collapseProperties()
Return a list of PropertyPermutations that represent the hard permutations
that result from collapsing the soft properties in the
PropertyPermutation's Properties object.
|
BindingProperty[] |
getOrderedProperties()
Returns the properties used to generate permutations.
|
String[] |
getOrderedPropertyValues(int permutation)
Returns the value of each property used to generate the given permutation.
|
Iterator<String[]> |
iterator()
Enumerates each permutation as an array of strings such that the index of
each string in the array corresponds to the property at the same index in
the array returned from
getOrderedProperties() . |
int |
size() |
public PropertyPermutations(Properties properties, Set<String> activeLinkerNames)
public PropertyPermutations(PropertyPermutations allPermutations, List<String[]> values)
public List<PropertyPermutations> collapseProperties()
public BindingProperty[] getOrderedProperties()
getOrderedPropertyValues(int)
.)public String[] getOrderedPropertyValues(int permutation)
getOrderedProperties()
.)public Iterator<String[]> iterator()
getOrderedProperties()
.public int size()
Copyright © 2018. All rights reserved.