All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tangible.RefObject Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy