uk.org.skeet.jbench.tasks
Class ArrayFill3dButler

java.lang.Object
  |
  +--uk.org.skeet.jbench.tasks.ArrayFill
        |
        +--uk.org.skeet.jbench.tasks.ArrayFill3dButler
All Implemented Interfaces:
BenchTask

public class ArrayFill3dButler
extends ArrayFill

Subclass of ArrayFill which creates a 3-dimensional array (similar to ArrayFill3dOriginal) but fills it using a cache of which subarray is being used for each set of iterations.


Constructor Summary
ArrayFill3dButler()
           
 
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

ArrayFill3dButler

public ArrayFill3dButler()
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