Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc
Class FloatCPEntry  view FloatCPEntry download FloatCPEntry.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.ConstantPoolEntry
      extended bycom.chaoswg.xtc4y.classdesc.ValueCPEntry
          extended bycom.chaoswg.xtc4y.classdesc.ShortValueCPEntry
              extended bycom.chaoswg.xtc4y.classdesc.FloatCPEntry

public final class FloatCPEntry
extends ShortValueCPEntry

this class represent a Float constant pool entry


Field Summary
static byte TAG
          The tag identifying a Float cp entry
private  float value
           
 
Fields inherited from class com.chaoswg.xtc4y.classdesc.ConstantPoolEntry
 
Constructor Summary
protected FloatCPEntry(java.io.DataInputStream dis)
          Creates a new Integer contantpool entry and initalizes it from a DataInputStream
  FloatCPEntry(float value)
          Constructor for internal usage to overwrite the tag flag
 
Method Summary
 float getValue()
           
protected  void resolve(ConstantPool cp)
          Resolve the internal stored indices thorugh the Constantpool
 void setValue(float value)
          Set the float value
 java.lang.String toString()
          print in a readable way
protected  void writeCPEntry(java.io.DataOutputStream dos, ConstantPool cp)
          Write the type specific constant pool entry information onto a DataOutputStream
 
Methods inherited from class com.chaoswg.xtc4y.classdesc.ConstantPoolEntry
getTag, getUsedCPSpace, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG

public static final byte TAG
The tag identifying a Float cp entry

See Also:
Constant Field Values

value

private float value
Constructor Detail

FloatCPEntry

public FloatCPEntry(float value)
Constructor for internal usage to overwrite the tag flag


FloatCPEntry

protected FloatCPEntry(java.io.DataInputStream dis)
                throws java.io.IOException
Creates a new Integer contantpool entry and initalizes it from a DataInputStream

Method Detail

resolve

protected void resolve(ConstantPool cp)
Resolve the internal stored indices thorugh the Constantpool

Specified by:
resolve in class ConstantPoolEntry

writeCPEntry

protected void writeCPEntry(java.io.DataOutputStream dos,
                            ConstantPool cp)
                     throws java.io.IOException
Write the type specific constant pool entry information onto a DataOutputStream

Specified by:
writeCPEntry in class ConstantPoolEntry

getValue

public float getValue()

setValue

public void setValue(float value)
Set the float value


toString

public java.lang.String toString()
print in a readable way