serp.util
Class Numbers

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

public class Numbers
extends Object

Number utilities.

Author:
Abe White

Constructor Summary
Numbers()
           
 
Method Summary
static Integer valueOf(int n)
          Return the wrapper for the given number, taking advantage of cached common values.
static 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 Integer valueOf(int n)
Return the wrapper for the given number, taking advantage of cached common values.


valueOf

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



Copyright © 2002-2007. All Rights Reserved.