class InputsAndSuccessFlag
extends java.lang.Object
This is the return type for ForwardGenerator's private selectInputs
method, which is
responsible for selecting a set of component sequences to be concatenated into a longer sequence.
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.Integer> |
indices
Same length as
sequences . |
java.util.List<Sequence> |
sequences
The sequences that create the inputs.
|
boolean |
success
True if private method
ForwardGenerator.selectInputs(TypedOperation operation) was able
to find component sequences for all the input types required by the given statement. |
Constructor and Description |
---|
InputsAndSuccessFlag(boolean success,
java.util.List<Sequence> sequences,
java.util.List<java.lang.Integer> indices)
Creates a new InputsAndSuccessFlag.
|
public boolean success
ForwardGenerator.selectInputs(TypedOperation operation)
was able
to find component sequences for all the input types required by the given statement.public java.util.List<Sequence> sequences
public java.util.List<java.lang.Integer> indices
sequences
. Each integer is an index into the corresponding sequence, and
is a statement that creates/returns a value.public InputsAndSuccessFlag(boolean success, java.util.List<Sequence> sequences, java.util.List<java.lang.Integer> indices)
success
- true if there are component sequences for all the input typessequences
- the sequences that create the inputsindices
- index into the sequences, to the statement that creates/returns a value