org.slim3.commons.util
Class FloatUtil

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

public final class FloatUtil
extends Object

A utility class for Float.

Version:
3.0
Author:
higa

Method Summary
static Float toFloat(Object o)
          Converts the object to Float.
static float toPrimitiveFloat(Object o)
          Converts the object to primitive float.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toFloat

public static Float toFloat(Object o)
Converts the object to Float.

Parameters:
o - the object
Returns:
the converted value

toPrimitiveFloat

public static float toPrimitiveFloat(Object o)
Converts the object to primitive float.

Parameters:
o - the object
Returns:
the converted value


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