Sun Adapter for COM/DCOM API

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

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

public class IntRef
extends java.lang.Object

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


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

Constructor Detail

IntRef

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

Parameters:
None.
Throws:
None.


IntRef

public IntRef(int initValue)
Constructor for the class.

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

setValue

public void setValue(int newValue)
Sets the value.

Parameters:
newValue - The value to set.

getValue

public int getValue()
Gets the value.

Parameters:
None.

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

Sun Adapter for COM/DCOM API

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