Class OutputInt


  • @Deprecated
    public class OutputInt
    extends Object
    Deprecated.
    This API is ICU internal only.
    Simple struct-like class for int output parameters. Like Output<Integer> but without auto-boxing.
    • Field Detail

      • value

        @Deprecated
        public int value
        Deprecated.
        This API is ICU internal only.
        The value field.
    • Constructor Detail

      • OutputInt

        @Deprecated
        public OutputInt()
        Deprecated.
        This API is ICU internal only.
        Constructs an OutputInt with value 0.
      • OutputInt

        @Deprecated
        public OutputInt​(int value)
        Deprecated.
        This API is ICU internal only.
        Constructs an OutputInt with the given value.
        Parameters:
        value - the initial value
    • Method Detail

      • toString

        @Deprecated
        public String toString()
        Deprecated.
        This API is ICU internal only.
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.