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

# Class CPConstant<T extends CPConstant<T>>

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

Type Parameters:
  `T` - The CPConstant subclass.

All Implemented Interfaces:
  `Comparable<T>`

Direct Known Subclasses:
  `CPClass`, `CPDouble`, `CPFloat`, `CPInt`, `CPLong`, `CPString`

public abstract class CPConstant<T extends CPConstant<T>> extends ConstantPoolEntry implements Comparable<T>
Abstract superclass for constant pool constant entries such as numbers or Strings.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CPConstant()`

- ## Method Summary

  ### 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`

  ### Methods inherited from interface java.lang.Comparable

  `compareTo`

- ## Constructor Details

  - ### CPConstant

    public CPConstant()