randoop.experiments
Class RandomTargets

Object
  extended by RandomTargets
All Implemented Interfaces:
TargetMaker

public class RandomTargets
extends Object
implements TargetMaker


Constructor Summary
Constructor and Description
RandomTargets(String[] args)
          First argument is the prefix, second argument is the name of the file containing the targets.
 
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

RandomTargets

public RandomTargets(String[] args)
First argument is the prefix, second argument is the name of the file containing the targets.

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