Package co.nstant.in.cbor.model
Class SimpleValue
- java.lang.Object
-
- co.nstant.in.cbor.model.DataItem
-
- co.nstant.in.cbor.model.Special
-
- co.nstant.in.cbor.model.SimpleValue
-
public class SimpleValue extends Special
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleValue
FALSE
static SimpleValue
NULL
static SimpleValue
TRUE
static SimpleValue
UNDEFINED
-
Constructor Summary
Constructors Constructor Description SimpleValue(int value)
SimpleValue(SimpleValueType simpleValueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
SimpleValueType
getSimpleValueType()
int
getValue()
int
hashCode()
String
toString()
-
Methods inherited from class co.nstant.in.cbor.model.Special
getSpecialType
-
Methods inherited from class co.nstant.in.cbor.model.DataItem
assertTrue, getMajorType, getOuterTaggable, getTag, hasTag, removeTag, setTag, setTag
-
-
-
-
Field Detail
-
FALSE
public static final SimpleValue FALSE
-
TRUE
public static final SimpleValue TRUE
-
NULL
public static final SimpleValue NULL
-
UNDEFINED
public static final SimpleValue UNDEFINED
-
-
Constructor Detail
-
SimpleValue
public SimpleValue(SimpleValueType simpleValueType)
-
SimpleValue
public SimpleValue(int value)
-
-
Method Detail
-
getSimpleValueType
public SimpleValueType getSimpleValueType()
-
getValue
public int getValue()
-
-