public class Tag extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Tag() |
Modifier and Type | Method and Description |
---|---|
Tag |
clone() |
boolean |
equals(Object obj) |
String |
getKey() |
String |
getValue() |
int |
hashCode() |
void |
setKey(String key) |
void |
setValue(String value) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Tag |
withKey(String key) |
Tag |
withValue(String value) |
public void setKey(String key)
key
- public String getKey()
public Tag withKey(String key)
key
- public void setValue(String value)
value
- public String getValue()
public Tag withValue(String value)
value
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.