Package org.apache.commons.compress.harmony.pack200

# Class CPFloat

java.lang.Object
org.apache.commons.compress.harmony.pack200.ConstantPoolEntry
org.apache.commons.compress.harmony.pack200.CPConstant<CPFloat>
org.apache.commons.compress.harmony.pack200.CPFloat

All Implemented Interfaces:
  `Comparable<CPFloat>`

public class CPFloat extends CPConstant<CPFloat>
Constant pool entry for a float.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CPFloat(float value)`
  Constructs a new instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(CPFloat obj)`
  `float`
  `getFloat()`

  ### Methods inherited from class org.apache.commons.compress.harmony.pack200.ConstantPoolEntry

  `getIndex, setIndex`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CPFloat

    public CPFloat(float value)
    Constructs a new instance.
    Parameters:
      `value` - The value.

- ## Method Details

  - ### compareTo

    public int compareTo(CPFloat obj)

  - ### getFloat

    public float getFloat()