public static final class CBORParser.TagList extends Object
| Constructor and Description |
|---|
TagList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int tag)
Adds a tag to the list.
|
void |
clear()
Clears the tags from the list.
|
boolean |
contains(int tag)
Checks if a tag is present.
|
int |
getFirstTag()
Gets the first tag in the list.
|
boolean |
isEmpty()
Checks whether the tag list is empty.
|
int |
size()
Gets the number of tags available.
|
public int size()
public boolean isEmpty()
true if there are no tags, false if there are tags..public void clear()
public void add(int tag)
tag - The tag to add.public boolean contains(int tag)
tag - The tag to check.true if the tag is present, false if it is not.public int getFirstTag()
Copyright © 2024 FasterXML. All rights reserved.