Sun Adapter for COM/DCOM API

com.stc.connector.appconn.com.otd.types
Class DoubleRef

java.lang.Object
  extended by com.stc.connector.appconn.com.otd.types.DoubleRef

public class DoubleRef
extends java.lang.Object

The DoubleRef class is used in cases where the method parameter is an [in,out] or [out] type.


Constructor Summary
DoubleRef()
          Constructor for the class.
DoubleRef(double initValue)
          Constructor for the class.
 
Method Summary
 double getValue()
          Gets the value.
 void setValue(double newValue)
          Sets the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleRef

public DoubleRef()
Constructor for the class. Provides no initialization of the value held.

Parameters:
None.
Throws:
None.


DoubleRef

public DoubleRef(double initValue)
Constructor for the class.

Parameters:
initValue - The value to set.
Throws:
None.
Method Detail

setValue

public void setValue(double newValue)
Sets the value.

Parameters:
newValue - The value to set.

getValue

public double getValue()
Gets the value.

Parameters:
None.

Returns:
double - Returns the value.
Throws:
None.

Sun Adapter for COM/DCOM API

Copyright © 1994-2008 Sun Microsystems, Inc. All rights reserved.