1 /* GENERATED SOURCE. DO NOT MODIFY. */
2 /*
3  *******************************************************************************
4  * Copyright (C) 2014, International Business Machines Corporation and
5  * others. All Rights Reserved.
6  *******************************************************************************
7  */
8 package android.icu.util;
9 
10 /**
11  * Simple struct-like class for int output parameters.
12  * Like <code>Output&lt;Integer&gt;</code> but without auto-boxing.
13  *
14  * @deprecated This API is ICU internal only.
15  * @hide Only a subset of ICU is exposed in Android
16  * @hide draft / provisional / internal are hidden on Android
17  */
18 @Deprecated
19 public class OutputInt {
20     /**
21      * The value field.
22      *
23      * @deprecated This API is ICU internal only.
24      * @hide draft / provisional / internal are hidden on Android
25      */
26     @Deprecated
27     public int value;
28 
29     /**
30      * Constructs an <code>OutputInt</code> with value 0.
31      *
32      * @deprecated This API is ICU internal only.
33      * @hide draft / provisional / internal are hidden on Android
34      */
35     @Deprecated
OutputInt()36     public OutputInt() {
37     }
38 
39     /**
40      * Constructs an <code>OutputInt</code> with the given value.
41      *
42      * @param value the initial value
43      * @deprecated This API is ICU internal only.
44      * @hide draft / provisional / internal are hidden on Android
45      */
46     @Deprecated
OutputInt(int value)47     public OutputInt(int value) {
48         this.value = value;
49     }
50 
51     /**
52      * {@inheritDoc}
53      * @deprecated This API is ICU internal only.
54      * @hide draft / provisional / internal are hidden on Android
55      */
56     @Deprecated
toString()57     public String toString() {
58         return Integer.toString(value);
59     }
60 }
61