org.slim3.commons.util
Class ShortUtil

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

public final class ShortUtil
extends Object

A utility class for Short.

Version:
3.0
Author:
higa

Method Summary
static short toPrimitiveShort(Object o)
          Converts the object to primitive short.
static Short toShort(Object o)
          Converts the object to Short.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toShort

public static Short toShort(Object o)
Converts the object to Short.

Parameters:
o - the object
Returns:
the converted value

toPrimitiveShort

public static short toPrimitiveShort(Object o)
Converts the object to primitive short.

Parameters:
o - the object
Returns:
the converted value


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