T - the value type.public class Out<T> extends Object
OPC UA Methods use Out parameters to return zero, one, or multiple values instead of traditional function return values.
| Constructor and Description |
|---|
Out() |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Get the value for this Out param.
|
T |
getRaw()
Get the value for this Out param.
|
boolean |
isSet()
Return
true if the value has been set, i.e. |
void |
set(T value)
Set the value for this Out param.
|
@Nullable public T get() throws UaException
UaException - if the value has not been set.@Nullable public T getRaw()
public void set(@Nullable
T value)
value - the value.public boolean isSet()
true if the value has been set, i.e. set(Object) has been called.
This allows the distinction between a value that hasn't been set versus a value that was set to null.
true if the value has been set.Copyright © 2021. All rights reserved.