org.apache.commons.compress.harmony.pack200

## Class CPLong

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

- All Implemented Interfaces:
    Comparable<CPLong>

      public class CPLong
      extends CPConstant<CPLong>

  Constant pool entry for a long.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CPLong(long theLong)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(CPLong obj)`
    `long` | `getLong()`
    `String` | `toString()`

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

- - ### Constructor Detail

    - #### CPLong

          public CPLong(long theLong)

  - ### Method Detail

    - #### compareTo

          public int compareTo(CPLong obj)

    - #### getLong

          public long getLong()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.