randoop
Class HelperSequenceCreator

Object
  extended by HelperSequenceCreator

public class HelperSequenceCreator
extends Object


Constructor Summary
Constructor and Description
HelperSequenceCreator()
           
 
Method Summary
Modifier and Type Method and Description
static SimpleList<Sequence> createSequence(ComponentManager components, Class<?> cls)
          Returns a sequence that creates an object of type compatible the given class.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelperSequenceCreator

public HelperSequenceCreator()
Method Detail

createSequence

public static SimpleList<Sequence> createSequence(ComponentManager components,
                                                  Class<?> cls)
Returns a sequence that creates an object of type compatible the given class. Wraps the object in a list, and returns the list. CURRENTLY, will return a sequence (i.e. a non-empty list) only if cls is an array.