Class Out<T>

java.lang.Object
io.github.jwharm.javagi.base.Out<T>
Type Parameters:
T - The parameter type.

public class Out<T> extends Object
A wrapper class for out-parameters of (usually primitive) values. When a method expects an Out<> object, the user must create it, optionally fill it with an initial value, and pass it to the method. After the method has returned, the user can read the the value of the out-parameter with a call to get().