Class MapEntry

java.lang.Object
org.apache.pdfbox.debugger.ui.MapEntry

public class MapEntry extends Object
This is a simple class that will contain a key and a value.
  • Field Details

  • Constructor Details

    • MapEntry

      public MapEntry()
  • Method Details

    • getKey

      public COSName getKey()
      Get the key for this entry.
      Returns:
      The entry's key.
    • setKey

      public void setKey(COSName k)
      This will set the key for this entry.
      Parameters:
      k - the new key for this entry.
    • getValue

      public COSBase getValue()
      This will get the value for this entry.
      Returns:
      The value for this entry.
    • getItem

      public COSBase getItem()
      This will get the value for this entry.
      Returns:
      The value for this entry.
    • setValue

      public void setValue(COSBase val)
      This will set the value for this entry.
      Parameters:
      val - the new value for this entry.
    • setItem

      public void setItem(COSBase val)
      This will set the value for this entry.
      Parameters:
      val - the new value for this entry.
    • toString

      public String toString()
      This will output a string representation of this class.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this class.