er.extensions
Class ERXConstant
java.lang.Object
er.extensions.ERXConstant
- public class ERXConstant
- extends Object
Collection of base constants. Note that upon class initialization
2500 Integers will be created and cached, from 0 - 2499.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_INT
public static final int MAX_INT
- See Also:
- Constant Field Values
INTEGERS
protected static Integer[] INTEGERS
EmptyObject
public static final Object EmptyObject
EmptyArray
public static final NSArray EmptyArray
EmptyDictionary
public static final NSDictionary EmptyDictionary
MinusOneInteger
public static final Integer MinusOneInteger
OneInteger
public static final Integer OneInteger
ZeroInteger
public static final Integer ZeroInteger
TwoInteger
public static final Integer TwoInteger
ThreeInteger
public static final Integer ThreeInteger
ZeroBigDecimal
public static final BigDecimal ZeroBigDecimal
OneBigDecimal
public static final BigDecimal OneBigDecimal
EmptyClassArray
public static final Class[] EmptyClassArray
NotificationClassArray
public static final Class[] NotificationClassArray
ObjectClassArray
public static final Class[] ObjectClassArray
StringClassArray
public static final Class[] StringClassArray
EmptyObjectArray
public static final Object[] EmptyObjectArray
ERXConstant
public ERXConstant()
integerForInt
public static Integer integerForInt(int i)
- Returns an Integer for a given int
- Returns:
- potentially cache Integer for a given int
integerForString
public static Integer integerForString(String s)
throws NumberFormatException
- Returns an Integer for a given String
- Returns:
- potentially cache Integer for a given String
- Throws:
NumberFormatException
- forwarded from the
parseInt method off of Integer
Copyright © 2002 – 2004 Project Wonder.