org.slim3.commons.util
Class LongUtil

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

public final class LongUtil
extends Object

A utility class for Long.

Version:
3.0
Author:
higa

Method Summary
static Long toLong(Object o)
          Converts the object to Long.
static long toPrimitiveLong(Object o)
          Converts the object to primitive long.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toLong

public static Long toLong(Object o)
Converts the object to Long.

Parameters:
o - the object
Returns:
the converted value

toPrimitiveLong

public static long toPrimitiveLong(Object o)
Converts the object to primitive long.

Parameters:
o - the object
Returns:
the converted value


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