public class Field<T> extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
getField()
Gets the field's tag.
|
T |
getObject()
Get the field value
|
int |
getTag()
Gets the field's tag.
|
int |
hashCode() |
protected String |
objectAsString() |
protected void |
setObject(T object)
Sets the field's value to the given object.
|
void |
setTag(int tag) |
String |
toString()
Returns the formatted field (tag=value
|
public Field(int field, T object)
public int getTag()
public int getField()
getTag()
protected void setObject(T object)
object
- public T getObject()
public String toString()
protected String objectAsString()
public void setTag(int tag)
Copyright © 2021. All rights reserved.