Package serp.util

Class Numbers

java.lang.Object
serp.util.Numbers

public class Numbers extends Object
Number utilities.
Author:
Abe White
  • Constructor Details

    • Numbers

      public Numbers()
  • Method Details

    • 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.