Skip navigation links
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: /main/2 $) $Date: 2012/01/04 16:18:06 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Skip navigation links
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.