org.apache.myfaces.trinidad.util

## Class IntegerUtils

- java.lang.Object
- - org.apache.myfaces.trinidad.util.IntegerUtils

-     public final class IntegerUtils
      extends Object

  This class has been moved from bali share. Class containing various integer utilities. It caches commonly used Integer objects and String representations of Integers to avoid expensive object creations.

  IntegerUtils is used throughout most Bali projects, and clients are also encouraged to use it for increased performance.

  Since:
    Inspector 0.2
  Version:
    $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/util/IntegerUtils.java#0 $) $Date: 10-nov-2005.18:49:09 $

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getString(int intValue)`
    `static String` | `getString(Integer intObject)`
    `static String` | `getString(long longValue)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getString

          public static String getString(int intValue)

      Returns:
        a String value corresponding to the specified integer, possibly creating a new String object if a cached one does not exist.

    - #### getString

          public static String getString(long longValue)

      Returns:
        a String value corresponding to the specified long, possibly creating a new String object if a cached one does not exist.

    - #### getString

          public static String getString(Integer intObject)

      Returns:
        a String value corresponding to the specified Integer, possibly creating a new String object if a cached one does not exist.

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.