org.jboss.errai.marshalling.server.json.impl
Class ErraiJSONNumber
java.lang.Object
org.jboss.errai.marshalling.server.json.impl.ErraiJSONNumber
- All Implemented Interfaces:
- EJNumber
public class ErraiJSONNumber
- extends Object
- implements EJNumber
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErraiJSONNumber
public ErraiJSONNumber(Number number)
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in interface EJNumber
intValue
public int intValue()
- Specified by:
intValue
in interface EJNumber
shortValue
public short shortValue()
- Specified by:
shortValue
in interface EJNumber
byteValue
public byte byteValue()
- Specified by:
byteValue
in interface EJNumber
floatValue
public float floatValue()
- Specified by:
floatValue
in interface EJNumber
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.