com.bm.datagen.constant
Class ConstantLongGenerator

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

public class ConstantLongGenerator
extends java.lang.Object
implements Generator<java.lang.Long>

Generatos constant Integer values.

Author:
Daniel Wiese

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

Constructor Detail

ConstantLongGenerator

public ConstantLongGenerator(long constant)
Constructor.

Parameters:
constant - - the constant value
Method Detail

getValue

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

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


Copyright © 2008. All Rights Reserved.