Package org.apache.pdfbox.debugger.ui
Class MapEntry
java.lang.Object
org.apache.pdfbox.debugger.ui.MapEntry
This is a simple class that will contain a key and a value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem()
This will get the value for this entry.getKey()
Get the key for this entry.getValue()
This will get the value for this entry.void
This will set the value for this entry.void
This will set the key for this entry.void
This will set the value for this entry.toString()
This will output a string representation of this class.
-
Field Details
-
key
-
value
-
item
-
-
Constructor Details
-
MapEntry
public MapEntry()
-
-
Method Details
-
getKey
Get the key for this entry.- Returns:
- The entry's key.
-
setKey
This will set the key for this entry.- Parameters:
k
- the new key for this entry.
-
getValue
This will get the value for this entry.- Returns:
- The value for this entry.
-
getItem
This will get the value for this entry.- Returns:
- The value for this entry.
-
setValue
This will set the value for this entry.- Parameters:
val
- the new value for this entry.
-
setItem
This will set the value for this entry.- Parameters:
val
- the new value for this entry.
-
toString
This will output a string representation of this class.
-