All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.icu.util.OutputInt Maven / Gradle / Ivy

Go to download

International Component for Unicode for Java (ICU4J) is a mature, widely used Java library providing Unicode and Globalization support

There is a newer version: 76.1
Show newest version
/*
 *******************************************************************************
 * 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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy