/* ******************************************************************************* * Copyright (C) 2014, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ package com.ibm.icu.util; /** * Simple struct-like class for int output parameters. * Like Output<Integer> but without auto-boxing. * * @internal but could become public * @deprecated This API is ICU internal only. */ @Deprecated public class OutputInt { /** * The value field. * * @internal * @deprecated This API is ICU internal only. */ @Deprecated public int value; /** * Constructs an OutputInt with value 0. * * @internal * @deprecated This API is ICU internal only. */ @Deprecated public OutputInt() { } /** * Constructs an OutputInt with the given value. * * @param value the initial value * @internal * @deprecated This API is ICU internal only. */ @Deprecated public OutputInt(int value) { this.value = value; } /** * {@inheritDoc} * @internal * @deprecated This API is ICU internal only. */ @Deprecated public String toString() { return Integer.toString(value); } }