randoop.experiments
Class OneTargetPerArgument

Object
  extended by OneTargetPerArgument
All Implemented Interfaces:
TargetMaker

public class OneTargetPerArgument
extends Object
implements TargetMaker

A target maker that creates targets by preprending the given prefixes to the given arguments (one target per prefix/argument pair). A prefix is an argument by the string "prefix=". All other are considered regular arguments.


Constructor Summary
Constructor and Description
OneTargetPerArgument(String[] args2)
           
 
Method Summary
Modifier and Type Method and Description
 String getNextTarget()
           
 boolean hasMoreTargets()
           
 int targetsLeft()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneTargetPerArgument

public OneTargetPerArgument(String[] args2)
Method Detail

getNextTarget

public String getNextTarget()
Specified by:
getNextTarget in interface TargetMaker
Returns:
The next target, or null if no more targets.

hasMoreTargets

public boolean hasMoreTargets()
Specified by:
hasMoreTargets in interface TargetMaker
Returns:
true if there are more targets left.

targetsLeft

public int targetsLeft()
Specified by:
targetsLeft in interface TargetMaker