org.apache.commons.compress.harmony.pack200

## Class CPString

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

- All Implemented Interfaces:
    Comparable<CPString>

      public class CPString
      extends CPConstant<CPString>

  Constant pool entry for a String.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CPString(CPUTF8 utf8)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(CPString arg0)`
    `int` | `getIndexInCpUtf8()`
    `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

    - #### CPString

          public CPString(CPUTF8 utf8)

  - ### Method Detail

    - #### compareTo

          public int compareTo(CPString arg0)

    - #### getIndexInCpUtf8

          public int getIndexInCpUtf8()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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