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