Constructor and Description |
---|
DefaultTags() |
Modifier and Type | Method and Description |
---|---|
void |
add(Tags tags) |
Object |
clone()
Creates a copy of the object.
|
Object |
get(String name) |
Object |
get(String name,
int type) |
boolean |
getBoolean(String name) |
boolean |
getBoolean(String name,
boolean defaultValue) |
int |
getInt(String name) |
int |
getInt(String name,
int defaultValue) |
boolean |
has(String name) |
boolean |
isEmpty() |
Iterator |
iterator() |
void |
removeAll() |
void |
set(String name,
Object value) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Object get(String name, int type) throws CoercionException
get
in interface Tags
CoercionException
public int getInt(String name) throws CoercionException
getInt
in interface Tags
name
- CoercionException
public boolean getBoolean(String name) throws CoercionException
getBoolean
in interface Tags
CoercionException
public boolean getBoolean(String name, boolean defaultValue)
getBoolean
in interface Tags
public Iterator iterator()
public Object clone() throws CloneNotSupportedException
Cloneable
clone
in class Object
CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.