18#ifndef _DECAF_LANG_NUMBER_H_
19#define _DECAF_LANG_NUMBER_H_
45 return (
unsigned char)intValue();
77 return (
short) intValue();
The abstract class Number is the superclass of classes Byte, Double, Float, Integer,...
Definition: Number.h:35
virtual long long longValue() const =0
Answers the long value which the receiver represents.
virtual short shortValue() const
Answers the short value which the receiver represents.
Definition: Number.h:76
virtual double doubleValue() const =0
Answers the double value which the receiver represents.
virtual float floatValue() const =0
Answers the float value which the receiver represents.
virtual unsigned char byteValue() const
Answers the byte value which the receiver represents.
Definition: Number.h:44
virtual int intValue() const =0
Answers the int value which the receiver represents.
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25