Top Description Fields Constructors Methods
com.ibm.icu.util

public Class Output<T>

extends Object
Class Inheritance
Type Parameters
<T>
The type of the parameter.

Simple struct-like class for output parameters.
ICU Status
Stable since ICU 4.8.

Field Summary

Modifier and TypeField and Description
public T
value

The value field

Constructor Summary

AccessConstructor and Description
public
Output()

Constructs an empty Output

public
Output(T
the initial value
value
)

Constructs an Output with the given value.

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

valueback to summary
public T value

The value field

ICU Status
Stable since ICU 4.8.

Constructor Detail

Outputback to summary
public Output()

Constructs an empty Output

ICU Status
Stable since ICU 4.8.
Outputback to summary
public Output(T value)

Constructs an Output with the given value.

Parameters
value:T

the initial value

ICU Status
Stable since ICU 4.8.

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
ICU Status
Stable since ICU 4.8.