org.kuali.student.common.ui.client.mvc
Class Holder<T>

java.lang.Object
  extended by org.kuali.student.common.ui.client.mvc.Holder<T>

public class Holder<T>
extends Object

Used to hold a reference to an object in cases where the declared reference needs to be final. For example, when using anonymous classes for asynchronous callbacks, a Holder can be used for a mutable value within the callback.

Author:
Kuali Student Team

Constructor Summary
Holder()
           
Holder(T value)
           
 
Method Summary
 T get()
           
 void set(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Holder

public Holder()

Holder

public Holder(T value)
Method Detail

get

public T get()

set

public void set(T value)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.