bak.pcj.benchmark
Class IntCollectionBenchmark
java.lang.Object
bak.pcj.benchmark.Benchmark
bak.pcj.benchmark.IntCollectionBenchmark
- Direct Known Subclasses:
- IntListBenchmark, IntSetBenchmark
- public abstract class IntCollectionBenchmark
- extends Benchmark
This class represents an abstract base for implementing benchmarks
for collections of int values.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntCollectionBenchmark
public IntCollectionBenchmark()
create
protected abstract IntCollection create(int[] elements)
create
protected IntCollection create()
getClassId
public String getClassId()
- Description copied from class:
Benchmark
- Returns the name of the class that is benchmarked.
- Specified by:
getClassId
in class Benchmark
- Returns:
- the name of the class that is benchmarked.
benchmarkAddExisting
public String benchmarkAddExisting(DataSet dataSet)
benchmarkAddNonExisting
public String benchmarkAddNonExisting(DataSet dataSet)
benchmarkContainsExisting
public String benchmarkContainsExisting(DataSet dataSet)
benchmarkContainsNonExisting
public String benchmarkContainsNonExisting(DataSet dataSet)
benchmarkRemoveExisting
public String benchmarkRemoveExisting(DataSet dataSet)
benchmarkRemoveNonExisting
public String benchmarkRemoveNonExisting(DataSet dataSet)
benchmarkIterator
public String benchmarkIterator(DataSet dataSet)
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