sub_arctic.input
Class int_holder

java.lang.Object
  |
  +--sub_arctic.input.int_holder

public class int_holder
extends java.lang.Object

Simple object to encapsulate an integer. This class is used simulate full pass-by-reference when needed (i.e., to allow integer parameters to be modified and returned by a method).


Field Summary
 int value
          The value we encapsulate.
 
Constructor Summary
int_holder()
          Constructor that initializes to 0.
int_holder(int v)
          Constructor with explicit initialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public int value
The value we encapsulate.
Constructor Detail

int_holder

public int_holder(int v)
Constructor with explicit initialization.

int_holder

public int_holder()
Constructor that initializes to 0.