public class COSInteger extends COSNumber
CONSTANT_CONTAINER, NULL_CONTAINER, SLOT_CONTAINER| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ICOSObjectVisitor visitor)
Accept a visitor object.
|
COSInteger |
asInteger() |
static COSInteger |
create(byte[] bytes,
int start,
int length) |
static COSInteger |
create(int value) |
static COSInteger |
createStrict(byte[] bytes,
int start,
int length) |
boolean |
equals(Object o) |
float |
floatValue()
Answer the value of the receiver as a float
|
int |
hashCode() |
int |
intValue()
Answer the value of the receiver as a int
|
Object |
saveState() |
addObjectListener, basicIterator, copyDeep, copyDeep, isDangling, isObjectListenerAvailable, isPrimitive, iterator, removeObjectListenerasArray, asBoolean, asDictionary, asFixed, 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, toStringhandleException, isReferencepublic static COSInteger create(byte[] bytes, int start, int length)
public static COSInteger create(int value)
public static COSInteger createStrict(byte[] bytes, int start, int length)
public Object accept(ICOSObjectVisitor visitor) throws COSVisitorException
COSDocumentElementvisitor by "double dispatching".accept in class COSDocumentElementvisitor - The object visiting the receiver.COSVisitorException - An exception depending on the visitor semantics.public COSInteger asInteger()
asInteger in class COSObjectthis as a COSInteger or nullpublic float floatValue()
COSNumberfloatValue in class COSNumberpublic int intValue()
COSNumberpublic Object saveState()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.