Package com.ibm.icu.util
Class Output<T>
- java.lang.Object
-
- com.ibm.icu.util.Output<T>
-
- Type Parameters:
T- The type of the parameter.
public class Output<T> extends Object
Simple struct-like class for output parameters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Field Detail
-
value
public T value
The value field
-
-
Constructor Detail
-
Output
public Output()
Constructs an emptyOutput
-
Output
public Output(T value)
Constructs anOutputwithe the given value.- Parameters:
value- the initial value
-
-
Method Detail
-
toString
public String toString()
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-