randoop
Class ClassLiterals

Object
  extended by MappedSequences<Class<?>>
      extended by ClassLiterals

public class ClassLiterals
extends MappedSequences<Class<?>>

For a given class C, ClassLiterals maps C (if present) to a collection of literals (represented as single-element sequences) that can be used as inputs to members of the given class.


Constructor Summary
Constructor and Description
ClassLiterals()
           
 
Method Summary
Modifier and Type Method and Description
 void addSequence(Class<?> key, Sequence seq)
          Adds a sequence to the set of sequences associated with the given key.
 SimpleList<Sequence> getSequences(Class<?> key, Class<?> desiredType)
          Returns the set of sequences (as a list) that are associated with the given key and create values of the desiredType.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLiterals

public ClassLiterals()
Method Detail

addSequence

public void addSequence(Class<?> key,
                        Sequence seq)
Description copied from class: MappedSequences
Adds a sequence to the set of sequences associated with the given key.

Overrides:
addSequence in class MappedSequences<Class<?>>

getSequences

public SimpleList<Sequence> getSequences(Class<?> key,
                                         Class<?> desiredType)
Description copied from class: MappedSequences
Returns the set of sequences (as a list) that are associated with the given key and create values of the desiredType.

Overrides:
getSequences in class MappedSequences<Class<?>>