peersim.vector
Class TestVectors

java.lang.Object
  extended by peersim.vector.SingleValueHolder
      extended by peersim.vector.TestVectors
All Implemented Interfaces:
java.lang.Cloneable, Protocol, SingleValue

public class TestVectors
extends SingleValueHolder

Do testing the vector package.


Field Summary
protected  float fvalue
          Value held by this protocol
protected  int ivalue
          Value held by this protocol
protected  long lvalue
          Value held by this protocol
 
Fields inherited from class peersim.vector.SingleValueHolder
value
 
Constructor Summary
TestVectors(java.lang.String prefix)
          Builds a new (not initialized) value holder.
 
Method Summary
 float getFValue()
           
 int getIValue()
           
 long getLValue()
           
 void setFValue(float value)
           
 void setIValue(int value)
           
 void setLValue(long value)
           
 java.lang.String toString()
          Returns the value as a string.
 
Methods inherited from class peersim.vector.SingleValueHolder
clone, getValue, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fvalue

protected float fvalue
Value held by this protocol


ivalue

protected int ivalue
Value held by this protocol


lvalue

protected long lvalue
Value held by this protocol

Constructor Detail

TestVectors

public TestVectors(java.lang.String prefix)
Builds a new (not initialized) value holder. Calls super constructor.

Method Detail

getIValue

public int getIValue()

setIValue

public void setIValue(int value)

getFValue

public float getFValue()

setFValue

public void setFValue(float value)

getLValue

public long getLValue()

setLValue

public void setLValue(long value)

toString

public java.lang.String toString()
Returns the value as a string.

Overrides:
toString in class SingleValueHolder