Voyager ORB

com.objectspace.lib.holder
Class DoubleHolder

java.lang.Object
  |
  +--com.objectspace.lib.holder.DoubleHolder

public final class DoubleHolder
extends java.lang.Object

A DoubleHolder allows the final value of a double argument to be propagated back to the client.

Version:
3.0

Field Summary
 double value
          The actual value.
 
Constructor Summary
DoubleHolder()
          Construct myself with the default value of 0.0.
DoubleHolder(double value)
          Construct myself with the specified initial value.
 
Method Summary
 java.lang.String toString()
          Return a string that describes me.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public double value
The actual value.
Constructor Detail

DoubleHolder

public DoubleHolder()
Construct myself with the default value of 0.0.

DoubleHolder

public DoubleHolder(double value)
Construct myself with the specified initial value.
Parameters:
value - The initial value.
Method Detail

toString

public java.lang.String toString()
Return a string that describes me.
Overrides:
toString in class java.lang.Object

ObjectSpace Inc.

(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240