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.
Author:
Ben Litchfield
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.pdfbox.cos.COSBase
    This will get the value for this entry.
    org.apache.pdfbox.cos.COSName
    Get the key for this entry.
    org.apache.pdfbox.cos.COSBase
    This will get the value for this entry.
    void
    setItem(org.apache.pdfbox.cos.COSBase val)
    This will set the value for this entry.
    void
    setKey(org.apache.pdfbox.cos.COSName k)
    This will set the key for this entry.
    void
    setValue(org.apache.pdfbox.cos.COSBase val)
    This will set the value for this entry.
    This will output a string representation of this class.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MapEntry

      public MapEntry()
  • Method Details

    • getKey

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

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

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

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

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

      public void setItem(org.apache.pdfbox.cos.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.