org.apache.commons.compress.harmony.pack200

## Class CPSignature

- java.lang.Object
- - org.apache.commons.compress.harmony.pack200.ConstantPoolEntry
  - - org.apache.commons.compress.harmony.pack200.CPSignature

- All Implemented Interfaces:
    Comparable

      public class CPSignature
      extends ConstantPoolEntry
      implements Comparable

  Constant pool entry for a signature.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CPSignature(String signature, CPUTF8 signatureForm, List classes)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Object arg0)`
    `List` | `getClasses()`
    `int` | `getIndexInCpUtf8()`
    `CPUTF8` | `getSignatureForm()`
    `String` | `getUnderlyingString()`
    `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

    - #### CPSignature

          public CPSignature(String signature,
                             CPUTF8 signatureForm,
                             List classes)

  - ### Method Detail

    - #### compareTo

          public int compareTo(Object arg0)

      Specified by:
        `compareTo` in interface `Comparable`

    - #### getIndexInCpUtf8

          public int getIndexInCpUtf8()

    - #### getClasses

          public List getClasses()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getUnderlyingString

          public String getUnderlyingString()

    - #### getSignatureForm

          public CPUTF8 getSignatureForm()

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