spis.Util.Func
Class ConstantFunction

java.lang.Object
  extended byspis.Util.Func.ConstantFunction
All Implemented Interfaces:
ScalFunctionOfNothing

public class ConstantFunction
extends java.lang.Object
implements ScalFunctionOfNothing

Class Name : ConstantFunction
Project ref : SPIS project
File name : ConstantFunction.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : 7 mars 2004
Modification :

Description :

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

Field Summary
private  float value
          Constant value of the function
 
Constructor Summary
ConstantFunction(float constant)
          constructor
 
Method Summary
 float compute()
          returns the result of the function of nothing (a constant)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private float value
Constant value of the function

Constructor Detail

ConstantFunction

public ConstantFunction(float constant)
constructor

Method Detail

compute

public float compute()
Description copied from interface: ScalFunctionOfNothing
returns the result of the function of nothing (a constant)

Specified by:
compute in interface ScalFunctionOfNothing
See Also:
ScalFunctionOfNothing.compute()