ewe.util
Class Tag

java.lang.Object
  extended byewe.util.Tag
All Implemented Interfaces:
Encodable

public class Tag
extends Object
implements Encodable

A Tag associates an integer tag value with an object value. It is used to pass data to and from a TagList object, which is a memeory effecient way of storing tags.


Field Summary
 int tag
           
 Object value
           
 
Constructor Summary
Tag()
           
Tag(int tag, Object value)
           
 
Method Summary
 String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode
 

Field Detail

tag

public int tag

value

public Object value
Constructor Detail

Tag

public Tag()

Tag

public Tag(int tag,
           Object value)
Method Detail

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.