\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.pipeline.core.data.TryGetResult< T > Class Template Reference

Detailed Description

Return value of a 'try get' method.

This class contains an indicator as to whether a valid value was returned, and the value if the indicator is true.

Parameters
<T> - the type of value contained in the result

Public Member Functions

T  getValue ()
Get the value returned. More...
void  setValue (T value)
Set the value which is to be returned. More...
boolean  hasValue ()
Returns true if a value has been set in this instance. More...

Member Function Documentation