ImageGear for Java
ImGearRefObject<T> Class
Members  
the type of argument of potential reassignment
This class is passed as arguments to methods that might reassign the argvalues to new instances of the type, T.

You might use it as follows:

 Mutable inVal = new Mutable();
                        
// create an ImGearRefObject below with an argvalue referring to inVal.
ImGearRefObject<Mutable> refArg = new ImGearRefObject<Mutable>(inVal);
// exchangeInOutArg() below may not only modify
// (the internal state of) inVal, but may also reassign refArg.argvalue
// to a new instance of Mutable.
exchangeInOutArg(refArg);
// now, perhaps refArg.argvalue != inVal.
// assign the potentially new value to outVal below.
Mutable outVal = refArg.argvalue;
Syntax
public sealed class ImGearRefObject<T> 
    extends Object 
Type Parameters
T
the type of argument of potential reassignment
Inheritance Hierarchy

java.lang.Object
   com.accusoft.imagegear.utility.ImGearRefObject<T>

See Also

Reference

ImGearRefObject<T> Members
com.accusoft.imagegear.utility Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback