T - The type of the parameter.public class Output<T> extends Object
| Constructor and Description |
|---|
Output()
Constructs an empty
Output |
Output(T value)
Constructs an
Output withe the given value. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public T value
public Output()
Outputpublic Output(T value)
Output withe the given value.value - the initial valuepublic String toString()
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.