jp.go.aist.rtm.RTC.util
Class DataRef<T>

java.lang.Object
  extended by jp.go.aist.rtm.RTC.util.DataRef<T>
Type Parameters:
T - Data type

public class DataRef<T>
extends java.lang.Object

Class that expresses data reference


Field Summary
 T v
           Data where object concerned is stored
 
Constructor Summary
DataRef(T v)
           Constructor
 
Method Summary
 boolean equals(java.lang.Object rhs)
           Processing that judges equivalence
 int hashCode()
           Gets the hush code value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v

public T v
Data where object concerned is stored

Constructor Detail

DataRef

public DataRef(T v)
Constructor

Parameters:
v - Data allocated in initial state
Method Detail

equals

public boolean equals(java.lang.Object rhs)
Processing that judges equivalence

Overrides:
equals in class java.lang.Object
Parameters:
rhs - Object of equivalent judgment
Returns:
Equivalence is true.

hashCode

public int hashCode()
Gets the hush code value.

Overrides:
hashCode in class java.lang.Object
Returns:
hush code