Voyager ORB

com.objectspace.lib.holder
Class IntHolder

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

public final class IntHolder
extends java.lang.Object

An IntHolder allows the final value of an int argument to be propagated back to the client.

Version:
3.0

Field Summary
 int value
          The actual value.
 
Constructor Summary
IntHolder()
          Construct myself with the default value of 0.
IntHolder(int 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 int value
The actual value.
Constructor Detail

IntHolder

public IntHolder()
Construct myself with the default value of 0.

IntHolder

public IntHolder(int 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