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

# Class CPInt

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

All Implemented Interfaces:
  `Comparable<CPInt>`

public class CPInt extends CPConstant<CPInt>
Constant pool entry for an int.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CPInt(int value)`
  Constructs a new instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(CPInt obj)`
  `int`
  `getInt()`

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

  - ### CPInt

    public CPInt(int value)
    Constructs a new instance.
    Parameters:
      `value` - The value.

- ## Method Details

  - ### compareTo

    public int compareTo(CPInt obj)

  - ### getInt

    public int getInt()