PCJ API
Version 1.2

bak.pcj.benchmark
Class IntListBenchmark

java.lang.Object
  extended bybak.pcj.benchmark.Benchmark
      extended bybak.pcj.benchmark.IntCollectionBenchmark
          extended bybak.pcj.benchmark.IntListBenchmark
Direct Known Subclasses:
IntAdaptedArrayListBenchmark, IntArrayDequeBenchmark, IntArrayListBenchmark

public class IntListBenchmark
extends IntCollectionBenchmark

This class represents benchmark tests for lists of int values.

Since:
1.0

Constructor Summary
IntListBenchmark(IntListFactory factory)
           
 
Method Summary
 String benchmarkAddBeginning(DataSet dataSet)
           
 String benchmarkAddMiddle(DataSet dataSet)
           
 String benchmarkContainsExisting(DataSet dataSet)
           
 String benchmarkContainsNonExisting(DataSet dataSet)
           
 String benchmarkRemoveBeginning(DataSet dataSet)
           
 String benchmarkRemoveEnd(DataSet dataSet)
           
 String benchmarkRemoveExisting(DataSet dataSet)
           
 String benchmarkRemoveMiddle(DataSet dataSet)
           
 String benchmarkRemoveNonExisting(DataSet dataSet)
           
protected  IntCollection create(int[] elements)
           
 
Methods inherited from class bak.pcj.benchmark.IntCollectionBenchmark
benchmarkAddExisting, benchmarkAddNonExisting, benchmarkIterator, create, getClassId
 
Methods inherited from class bak.pcj.benchmark.Benchmark
readTimer, startTimer, stopTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntListBenchmark

public IntListBenchmark(IntListFactory factory)
Method Detail

create

protected IntCollection create(int[] elements)
Specified by:
create in class IntCollectionBenchmark

benchmarkContainsExisting

public String benchmarkContainsExisting(DataSet dataSet)
Overrides:
benchmarkContainsExisting in class IntCollectionBenchmark

benchmarkContainsNonExisting

public String benchmarkContainsNonExisting(DataSet dataSet)
Overrides:
benchmarkContainsNonExisting in class IntCollectionBenchmark

benchmarkRemoveExisting

public String benchmarkRemoveExisting(DataSet dataSet)
Overrides:
benchmarkRemoveExisting in class IntCollectionBenchmark

benchmarkRemoveNonExisting

public String benchmarkRemoveNonExisting(DataSet dataSet)
Overrides:
benchmarkRemoveNonExisting in class IntCollectionBenchmark

benchmarkAddMiddle

public String benchmarkAddMiddle(DataSet dataSet)

benchmarkAddBeginning

public String benchmarkAddBeginning(DataSet dataSet)

benchmarkRemoveMiddle

public String benchmarkRemoveMiddle(DataSet dataSet)

benchmarkRemoveBeginning

public String benchmarkRemoveBeginning(DataSet dataSet)

benchmarkRemoveEnd

public String benchmarkRemoveEnd(DataSet dataSet)

PCJ API
Version 1.2

Report a bug or request a feature.
Further information on the development and latest release of PCJ can be found at the project homepage.

Primitive Collections for Java is released under the GNU Lesser General Public License.
Copyright © 2002, 2003 Søren Bak. All Rights Reserved.

Hosted by SourceForge.net
SourceForge.net Logo