Package serp.util
Class Numbers
- java.lang.Object
-
- serp.util.Numbers
-
public class Numbers extends java.lang.Object
Number utilities.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Integer
INT_NEGONE
private static java.lang.Integer[]
INTEGERS
private static java.lang.Long
LONG_NEGONE
private static java.lang.Long[]
LONGS
-
Constructor Summary
Constructors Constructor Description Numbers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer
valueOf(int n)
Return the wrapper for the given number, taking advantage of cached common values.static java.lang.Long
valueOf(long n)
Return the wrapper for the given number, taking advantage of cached common values.
-