com.bm.datagen.constant
Class ConstantIntegerGenerator

java.lang.Object
  extended by com.bm.datagen.constant.ConstantIntegerGenerator
All Implemented Interfaces:
Generator<java.lang.Integer>

public class ConstantIntegerGenerator
extends java.lang.Object
implements Generator<java.lang.Integer>

Generatos constant Integer values.

Author:
Daniel Wiese

Constructor Summary
ConstantIntegerGenerator(int constant)
          Constructor.
 
Method Summary
 java.lang.Integer getValue()
          The value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantIntegerGenerator

public ConstantIntegerGenerator(int constant)
Constructor.

Parameters:
constant - - the constant value
Method Detail

getValue

public java.lang.Integer getValue()
The value.

Specified by:
getValue in interface Generator<java.lang.Integer>
Returns:
the vaue
See Also:
Generator.getValue()


Copyright © 2008. All Rights Reserved.