Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if (o instanceof UnicodeConstant) {
UnicodeConstant a = (UnicodeConstant) o;
return string.equals(a.string);
} else {
return false;
}
|
public int | hashCode()
return string.hashCode();
|
public boolean | isResolved() return true;
|
public static ConstantObject | read(int t, java.io.DataInput i)
return new UnicodeConstant( t, i.readUTF() );
|
public java.lang.String | toString()
return string;
|
public void | write(java.io.DataOutput o)
o.writeByte( tag );
o.writeUTF( string );
|