blob: 60d06047c2fae572cf4f31588fbfaea7e8f6cbba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/* GENERATED SOURCE. DO NOT MODIFY. */
/*
*******************************************************************************
* Copyright (C) 2011-2012, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package android.icu.util;
/**
* Simple struct-like class for output parameters.
* @param <T> The type of the parameter.
*/
public class Output<T> {
/**
* The value field
*/
public T value;
/**
* {@inheritDoc}
*/
public String toString() {
return value == null ? "null" : value.toString();
}
/**
* Constructs an empty <code>Output</code>
*/
public Output() {
}
/**
* Constructs an <code>Output</code> withe the given value.
* @param value the initial value
*/
public Output(T value) {
this.value = value;
}
}
|