com.fasterxml.jackson.core.JsonToken#VALUE_NUMBER_INT s.
Simple values left undefined in
CBOR 1.0
specification contain values [0 - 19], [32, 255]: other
values are not used to represent general simple values.
Specifically, values below 0, above 255 or
in range [20, 31] (inclusive) are never exposed.
Values are not guaranteed to be canonicalized, but being immutable may be reused (and in future possible canonicalized if that makes sense).
Note that it is possible that some of above-mentioned values may be defined to have specific meaning and get reported using some other mechanism.
| Modifier and Type | Field and Description |
|---|---|
| protected final int | _value
Actual numeric value represented. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | Returns: Simple integer value this instance representsAccessor for the simple integer value represented |
| public int | |
| public String |
| _value | back to summary |
|---|---|
| protected final int _value Actual numeric value represented. Usually should be in range
of | |
| CBORSimpleValue | back to summary |
|---|---|
| public CBORSimpleValue(int value) | |
| 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. | |
| getValue | back to summary |
|---|---|
| public int getValue() Accessor for the simple integer value represented
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |