public final class Permutation extends Object implements Serializable
Constructor and Description |
---|
Permutation(int id,
Permutation other)
Clones an existing permutation, but with a new id.
|
Permutation(int id,
StaticPropertyOracle propertyOracle) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
SortedMap<String,String>[] |
getOrderedRebindAnswers() |
StaticPropertyOracle[] |
getPropertyOracles()
Returns the property oracles, sorted by property values.
|
void |
mergeFrom(Permutation other,
SortedSet<String> liveRebindRequests)
This is called to merge two permutations that either have identical rebind
answers or were explicitly collapsed using
|
void |
mergeRebindsFromCollapsed(Permutation other)
This is called to collapse one permutation into another where the rebinds
vary between the two permutations.
|
String |
prettyPrint()
Shows a list of the property settings that were set to make up this
permutation in human readable form.
|
void |
putRebindAnswer(String requestType,
String resultType) |
public Permutation(int id, Permutation other)
id
- new permutation idother
- Permutation to copypublic Permutation(int id, StaticPropertyOracle propertyOracle)
public int getId()
public StaticPropertyOracle[] getPropertyOracles()
public void mergeFrom(Permutation other, SortedSet<String> liveRebindRequests)
public void mergeRebindsFromCollapsed(Permutation other)
public String prettyPrint()
Copyright © 2018. All rights reserved.