This is the package for infrastructure classes.
Classes
Class | Description |
ImGearRectangleF | Rectangle of floats. |
ImGearRefObject<T> | 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;
|
See Also