koala.dynamicjava.classfile
Class ConstantString

java.lang.Object
  |
  +--koala.dynamicjava.classfile.ConstantString

public class ConstantString
extends java.lang.Object

This class represents a constant string


Constructor Summary
ConstantString(java.lang.String v)
          Creates a new constant
 
Method Summary
 boolean equals(java.lang.Object other)
          Indicates whether some other object is equal to this one
 java.lang.String getValue()
          Returns the value of this constant
 int hashCode()
          Returns a hash code value for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantString

public ConstantString(java.lang.String v)
Creates a new constant
Method Detail

getValue

public java.lang.String getValue()
Returns the value of this constant

equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is equal to this one
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code value for this object
Overrides:
hashCode in class java.lang.Object


Copyright © 2001 Stephane Hillion. All Rights Reserved.