org.slim3.commons.util
Class ByteUtil

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

public final class ByteUtil
extends Object

A utility class for Byte.

Version:
3.0
Author:
higa

Method Summary
static Byte toByte(Object o)
          Converts the object to Byte.
static byte toPrimitiveByte(Object o)
          Converts the object to primitive byte.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toByte

public static Byte toByte(Object o)
Converts the object to Byte.

Parameters:
o - the object
Returns:
the converted value

toPrimitiveByte

public static byte toPrimitiveByte(Object o)
Converts the object to primitive byte.

Parameters:
o - the object
Returns:
the converted value


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