Package 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
  Description
  `CPString(CPUTF8 utf8)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### CPString

    public CPString(CPUTF8 utf8)

- ## Method Details

  - ### compareTo

    public int compareTo(CPString arg0)

  - ### getIndexInCpUtf8

    public int getIndexInCpUtf8()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`