# Class Ref<T>

java.lang.Object
com.thaiopensource.util.Ref<T>

public class Ref<T> extends Object
Simple generic class to hold a reference to an object.

## Constructor Summary

Constructors
Constructor
Description
`Ref()`
`Ref(T obj)`

## Method Summary

Modifier and Type
Method
Description
`void`
`clear()`
`T`
`get()`
`void`
`set(T obj)`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Details

### Ref

public Ref()

### Ref

public Ref(T obj)

## Method Details

### get

public T get()

### set

public void set(T obj)

### clear

public void clear()