uk.org.skeet.jbench.tasks
Class ArrayFillPlain

java.lang.Object
  |
  +--uk.org.skeet.jbench.tasks.ArrayFill
        |
        +--uk.org.skeet.jbench.tasks.ArrayFillPlain
All Implemented Interfaces:
BenchTask
Direct Known Subclasses:
ArrayFillPseudo3d

public class ArrayFillPlain
extends ArrayFill

Subclass of ArrayFill which just creates an array of the specified size and fills it.


Constructor Summary
ArrayFillPlain()
           
 
Method Summary
 void fillArray()
          Fills the array.
 void prepareTest()
          Creates the array to be filled during the test.
 
Methods inherited from class uk.org.skeet.jbench.tasks.ArrayFill
checkConfiguration, checkResults, getDescription, getSize, runTest, setIterations, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayFillPlain

public ArrayFillPlain()
Method Detail

prepareTest

public void prepareTest()
Description copied from class: ArrayFill
Creates the array to be filled during the test.
Overrides:
prepareTest in class ArrayFill
Following copied from interface: uk.org.skeet.jbench.BenchTask
Throws:
TaskException - if the preparation failed.

fillArray

public void fillArray()
Description copied from class: ArrayFill
Fills the array.
Overrides:
fillArray in class ArrayFill