Package co.nstant.in.cbor.model
Class DataItem
- java.lang.Object
-
- co.nstant.in.cbor.model.DataItem
-
- Direct Known Subclasses:
Array
,ByteString
,Map
,Number
,Special
,Tag
,UnicodeString
public class DataItem extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assertTrue(boolean condition, String message)
boolean
equals(Object object)
MajorType
getMajorType()
DataItem
getOuterTaggable()
Tag
getTag()
int
hashCode()
boolean
hasTag()
void
removeTag()
void
setTag(long tag)
void
setTag(Tag tag)
-
-
-
Constructor Detail
-
DataItem
protected DataItem(MajorType majorType)
-
-
Method Detail
-
getMajorType
public MajorType getMajorType()
-
setTag
public void setTag(long tag)
-
setTag
public void setTag(Tag tag)
-
removeTag
public void removeTag()
-
getTag
public Tag getTag()
-
hasTag
public boolean hasTag()
-
assertTrue
protected void assertTrue(boolean condition, String message)
-
getOuterTaggable
public DataItem getOuterTaggable()
-
-