daikon.derive.binary
Class SequenceStringSubscriptFactory

Object
  extended by BinaryDerivationFactory
      extended by SequenceStringSubscriptFactory
All Implemented Interfaces:
DerivationFactory

public final class SequenceStringSubscriptFactory
extends BinaryDerivationFactory


Constructor Summary
SequenceStringSubscriptFactory()
           
 
Method Summary
 BinaryDerivation[] instantiate(VarInfo vi1, VarInfo vi2)
          Create a set of derivations from two base variables.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceStringSubscriptFactory

public SequenceStringSubscriptFactory()
Method Detail

instantiate

public BinaryDerivation[] instantiate(VarInfo vi1,
                                      VarInfo vi2)
Description copied from class: BinaryDerivationFactory
Create a set of derivations from two base variables. If the base variables aren't worth deriving from, returns null.

Specified by:
instantiate in class BinaryDerivationFactory
vi2 - the two base variables.
Returns:
a set of derivations based on two base variables. We allow more than one because two base variables may have multiple derived variables, per type of derivation. Can also be null if the two variables have nothing to derive from.