ds.ov2.util
Class Reference<E>

java.lang.Object
  extended by ds.ov2.util.Reference<E>

public class Reference<E>
extends Object

References. Each instance stores one instance of (probably immutable) E, which can be accessed and changed freely.

CPP Preprocessing
no cpp preprocessing needed
Execution Environment:
host
Author:
Hendrik Tews
Version:
$Revision: 1.1 $
Last Commit:
$Date: 2009-06-02 09:56:03 $ by $Author: tews $

Field Summary
 E ref
          The reference.
 
Constructor Summary
Reference()
          Noninitializing constructor.
Reference(E e)
          Initializing constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ref

public E ref
The reference.

Constructor Detail

Reference

public Reference(E e)
Initializing constructor. Initialize the reference to e.

Parameters:
e - first value of the reference

Reference

public Reference()
Noninitializing constructor. Set the reference to null.