| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final boolean | |
| private static final int | |
| public static final COSInteger | ONE
Constant for the number one. |
| protected static final COSInteger | OUT_OF_RANGE_MAX
Constant for an out of range value which is bigger than Log.MAX_VALUE. |
| protected static final COSInteger | OUT_OF_RANGE_MIN
Constant for an out of range value which is smaller than Log.MIN_VALUE. |
| private static final COSInteger[] | |
| public static final COSInteger | THREE
Constant for the number three. |
| public static final COSInteger | TWO
Constant for the number two. |
| private final long | |
| public static final COSInteger | ZERO
Constant for the number zero. |
| Access | Constructor and Description |
|---|---|
| private | COSInteger(long
The integer value of this object. val, boolean indicates if the value is valid. valid)constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ICOSVisitor
The object to notify when visiting this object. visitor)Implements abstract org. visitor pattern double dispatch method. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public float | Returns: The float value of this object.Implements abstract org. polymorphic access to value as float. |
| public static COSInteger | Returns: COSInteger instanceinteger value val)Returns a COSInteger instance with the given value. |
| private static COSInteger | |
| public int | |
| public int | Returns: The int value of this object,Implements abstract org. Polymorphic access to value as int This will get the integer value of this object. |
| public boolean | Returns: true if the value is validIndicates whether this instance represents a valid value. |
| public long | Returns: The int value of this object,Implements abstract org. Polymorphic access to value as int This will get the integer value of this object. |
| public String | |
| public void |
| HIGH | back to summary |
|---|---|
| private static final int HIGH The highest integer to be kept in the | |
| isValid | back to summary |
|---|---|
| private final boolean isValid | |
| LOW | back to summary |
|---|---|
| private static final int LOW The lowest integer to be kept in the | |
| ONE | back to summary |
|---|---|
| public static final COSInteger ONE Constant for the number one.
| |
| OUT_OF_RANGE_MAX | back to summary |
|---|---|
| protected static final COSInteger OUT_OF_RANGE_MAX Constant for an out of range value which is bigger than Log.MAX_VALUE. | |
| OUT_OF_RANGE_MIN | back to summary |
|---|---|
| protected static final COSInteger OUT_OF_RANGE_MIN Constant for an out of range value which is smaller than Log.MIN_VALUE. | |
| STATIC | back to summary |
|---|---|
| private static final COSInteger[] STATIC Static instances of all COSIntegers in the range from | |
| THREE | back to summary |
|---|---|
| public static final COSInteger THREE Constant for the number three.
| |
| TWO | back to summary |
|---|---|
| public static final COSInteger TWO Constant for the number two.
| |
| value | back to summary |
|---|---|
| private final long value | |
| ZERO | back to summary |
|---|---|
| public static final COSInteger ZERO Constant for the number zero.
| |
| COSInteger | back to summary |
|---|---|
| private COSInteger(long val, boolean valid) constructor.
| |
| accept | back to summary |
|---|---|
| public void accept(ICOSVisitor visitor) throws IOException Implements abstract org. visitor pattern double dispatch method.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract org. polymorphic access to value as float.
| |
| get | back to summary |
|---|---|
| public static COSInteger get(long val) Returns a COSInteger instance with the given value.
| |
| getInvalid | back to summary |
|---|---|
| private static COSInteger getInvalid(boolean maxValue) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intValue | back to summary |
|---|---|
| public int intValue() Implements abstract org. Polymorphic access to value as int This will get the integer value of this object.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Indicates whether this instance represents a valid value.
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements abstract org. Polymorphic access to value as int This will get the integer value of this object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writePDF | back to summary |
|---|---|
| public void writePDF(OutputStream output) throws IOException This will output this string as a PDF object.
| |