Class Soma

java.lang.Object
  extended by Soma
All Implemented Interfaces:
Funcao

public class Soma
extends java.lang.Object
implements Funcao


Field Summary
(package private)  Funcao[] gs
           
 
Constructor Summary
Soma(Funcao... gs)
           
 
Method Summary
 java.lang.String formula()
           
 double valor(double x)
           
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gs

Funcao[] gs
Constructor Detail

Soma

public Soma(Funcao... gs)
Method Detail

formula

public java.lang.String formula()
Specified by:
formula in interface Funcao

valor

public double valor(double x)
Specified by:
valor in interface Funcao