peersim.vector
Interface SingleValue

All Known Implementing Classes:
AverageED, AverageFunction, AvgBalance, BasicBalance, SingleValueHolder, TestVectors

public interface SingleValue

The implementor class has a single parameter. This interface provides access to that parameter.


Method Summary
 double getValue()
          Returns the value of the parameter hold by the implementor of this interface.
 void setValue(double value)
          Modifies the value of the parameter hold by the implementor of this interface.
 

Method Detail

getValue

double getValue()
Returns the value of the parameter hold by the implementor of this interface.


setValue

void setValue(double value)
Modifies the value of the parameter hold by the implementor of this interface.