tangible.RefObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package tangible;
//----------------------------------------------------------------------------------------
// Copyright � 2007 - 2012 Tangible Software Solutions Inc.
// This class can be used by anyone provided that the copyright notice remains intact.
//
// This class is used to simulate the ability to pass arguments by reference in Java.
//----------------------------------------------------------------------------------------
/**
* @param
* @author Basit Anwer
*/
public final class RefObject {
public T argvalue;
public RefObject(T refarg) {
argvalue = refarg;
}
public T getValue() {
return argvalue;
}
public void setValue(T value) {
argvalue = value;
}
}