serp.util
Class Numbers

java.lang.Object
  extended by serp.util.Numbers

public class Numbers
extends java.lang.Object

Number utilities.


Constructor Summary
Numbers()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Numbers

public Numbers()
Method Detail

valueOf

public static java.lang.Integer valueOf(int n)
Return the wrapper for the given number, taking advantage of cached common values.


valueOf

public static java.lang.Long valueOf(long n)
Return the wrapper for the given number, taking advantage of cached common values.