openlist.util.IntegerScaler Class Reference

List of all members.

Public Member Functions

 IntegerScaler (int factor)
Integer apply (Object arg)

Package Attributes

int factor


Detailed Description

A Scaler (not scaler) multiplies its argument by a fixed value, as specified in the constructor.

Author:
Robert Keller

Constructor & Destructor Documentation

openlist.util.IntegerScaler.IntegerScaler ( int  factor  ) 

Create a Scaler to multiply Integers by a fixed factor.

Parameters:
factor the int by which the argument of the function is multiplied


Member Function Documentation

Integer openlist.util.IntegerScaler.apply ( Object  arg  ) 

Apply this Scaler to an argument.

Parameters:
arg the value to be scaled
Returns:
the arg times the factor


The documentation for this class was generated from the following file:

Generated on Thu Oct 29 10:51:32 2009 by  doxygen 1.5.8