jasm.lang
Class Constant.String

java.lang.Object
  extended by jasm.lang.Constant.Info
      extended by jasm.lang.Constant.String
Enclosing class:
Constant

public static final class Constant.String
extends Constant.Info


Field Summary
 Constant.Utf8 str
           
 
Constructor Summary
Constant.String(Constant.Utf8 s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 byte[] toBytes(java.util.Map<Constant.Info,java.lang.Integer> constantPool)
          Convert this pool item into bytes.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

str

public final Constant.Utf8 str
Constructor Detail

Constant.String

public Constant.String(Constant.Utf8 s)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toBytes

public byte[] toBytes(java.util.Map<Constant.Info,java.lang.Integer> constantPool)
Description copied from class: Constant.Info
Convert this pool item into bytes.

Specified by:
toBytes in class Constant.Info
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 David J. Pearce. All Rights Reserved.