Skip navigation links
org.apache.myfaces.trinidad.util
Class IntegerUtils
java.lang.Object
org.apache.myfaces.trinidad.util.IntegerUtils
-
public final class IntegerUtils
- extends java.lang.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 |
static java.lang.String |
getString(int intValue)
|
static java.lang.String |
getString(java.lang.Integer intObject)
|
static java.lang.String |
getString(long longValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getString
public static java.lang.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 java.lang.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 java.lang.String getString(java.lang.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-2012 The Apache Software Foundation. All Rights Reserved.