public abstract class COSNumber extends COSPrimitiveObject
CONSTANT_CONTAINER, NULL_CONTAINER, SLOT_CONTAINER| Modifier and Type | Method and Description |
|---|---|
COSNumber |
asNumber() |
abstract float |
floatValue()
Answer the value of the receiver as a float
|
abstract int |
intValue()
Answer the value of the receiver as a int
|
boolean |
isNumber()
answer true if receiver is a number
|
addObjectListener, basicIterator, copyDeep, copyDeep, isDangling, isObjectListenerAvailable, isPrimitive, iterator, removeObjectListenerasArray, asBoolean, asDictionary, asFixed, asInteger, asName, asNull, asStream, asString, beConstant, beIndirect, containable, copyOptional, copyShallow, copySubGraph, dereference, getContainer, getDoc, getIndirectObject, getValueBoolean, getValueBytes, getValueFloat, getValueInteger, getValueString, harden, isIndirect, isNull, isSwapped, mayBeSwapped, restoreState, soften, stringValue, toStringaccept, handleException, isReferencepublic COSNumber asNumber()
public abstract float floatValue()
public abstract int intValue()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.