Class InOut<T>
- java.lang.Object
-
- sk.ipesoft.d2000.d2japi.annotations.InOut<T>
-
- Type Parameters:
T- actual type parameter of value
public class InOut<T> extends java.lang.ObjectContainer type for handling output parameters of synchronous RPC calls.Due to lack of output parameters in Java language a container is required for emulation of output parameters within synchronous RPC calls.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)TgetValue()Get current value.inthashCode()voidsetValue(T value)Set current value tovalue.
-
-
-
Constructor Detail
-
InOut
public InOut()
Create new instance initiated withnull.
-
InOut
public InOut(T value)
Create new instance initiated withvalue.- Parameters:
value- initial value of object
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getValue
public T getValue()
Get current value.- Returns:
- current value
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
setValue
public void setValue(T value)
Set current value tovalue.- Parameters:
value- new value
-
-