net.sf.jbenchmark
Class FixedItemList

java.lang.Object
  extended bynet.sf.jbenchmark.TestFeature
      extended bynet.sf.jbenchmark.FixedItemList
All Implemented Interfaces:
ItemList

public class FixedItemList
extends TestFeature
implements ItemList

ItemList implementation that takes a comma-separated list of items.

Version:
$Id: FixedItemList.java,v 1.2 2004/02/05 09:25:23 dcotterill Exp $
Author:
Darrell DeBoer

Constructor Summary
FixedItemList()
           
 
Method Summary
 java.lang.String[] getItems()
          Returns an array of tokens for the list
 void setTokens(java.lang.String tokens)
          Sets the tokens to be a part of the list, comma-separated.
 
Methods inherited from class net.sf.jbenchmark.TestFeature
finish, getContext, getName, setContext, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedItemList

public FixedItemList()
Method Detail

setTokens

public void setTokens(java.lang.String tokens)
Sets the tokens to be a part of the list, comma-separated.


getItems

public java.lang.String[] getItems()
                            throws java.lang.Exception
Returns an array of tokens for the list

Specified by:
getItems in interface ItemList
Throws:
java.lang.Exception