org.slim3.commons.util
Class IntegerUtil

java.lang.Object
  extended by org.slim3.commons.util.IntegerUtil

public final class IntegerUtil
extends Object

A utility class for Integer.

Version:
3.0
Author:
higa

Method Summary
static Integer toInteger(Object o)
          Converts the object to Integer.
static int toPrimitiveInt(Object o)
          Converts the object to primitive integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toInteger

public static Integer toInteger(Object o)
Converts the object to Integer.

Parameters:
o - the object
Returns:
the converted value

toPrimitiveInt

public static int toPrimitiveInt(Object o)
Converts the object to primitive integer.

Parameters:
o - the object
Returns:
the converted value


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.