SynSoft Java Standard Library

synsoft.org


org.synsoft.base
Class OutParameter

java.lang.Object
  |
  +--org.synsoft.base.OutParameter

public class OutParameter
extends java.lang.Object

This class represents an in-parameter, in the form of a constant proxy to a reference for an object.


Field Summary
protected  java.lang.Object m_object
          The actual reference to the object.
static Version scm_version
          Constant instance of version information for class.
 
Constructor Summary
OutParameter()
          Constructs an empty OutParameter.
 
Method Summary
 java.lang.Object getReference()
          Gets the object reference
 int hashCode()
          Returns a hash code value for the object This function actually returns the hashCode() result of the referent
 void setReference(java.lang.Object object)
          Sets the object reference
 java.lang.String toString()
          Returns a string representation of the object This function actually returns the toString() result of the referent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_object

protected java.lang.Object m_object
The actual reference to the object.

scm_version

public static final Version scm_version
Constant instance of version information for class.
Constructor Detail

OutParameter

public OutParameter()
Constructs an empty OutParameter. This is the only way of constructing an out-parameter.
Method Detail

setReference

public final void setReference(java.lang.Object object)
Sets the object reference
Parameters:
object - The referenced object

getReference

public final java.lang.Object getReference()
Gets the object reference
Returns:
The referenced object

toString

public final java.lang.String toString()
Returns a string representation of the object This function actually returns the toString() result of the referent
Overrides:
toString in class java.lang.Object

hashCode

public final int hashCode()
Returns a hash code value for the object This function actually returns the hashCode() result of the referent
Overrides:
hashCode in class java.lang.Object

version 2.0.1.231

Copyright © Synesis Software. Licensed according to the Synesis Software Standard Public License