Top Description Fields Constructors Methods
org.apache.pdfbox.debugger.ui

public Class MapEntry

extends Object
Class Inheritance
Imports
org.apache.pdfbox.cos.COSBase, .COSName

This is a simple class that will contain a key and a value.
Author
Ben Litchfield

Field Summary

Modifier and TypeField and Description
private COSBase
private COSName
private COSBase

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public COSBase

Returns:

The value for this entry.
getItem
()

This will get the value for this entry.

public COSName

Returns:

The entry's key.
getKey
()

Get the key for this entry.

public COSBase

Returns:

The value for this entry.
getValue
()

This will get the value for this entry.

public void
setItem(COSBase
the new value for this entry.
val
)

This will set the value for this entry.

public void
setKey(COSName
the new key for this entry.
k
)

This will set the key for this entry.

public void
setValue(COSBase
the new value for this entry.
val
)

This will set the value for this entry.

public String

Returns:

A string representation of this class.
toString
()

Overrides java.lang.Object.toString.

This will output a string representation of this class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

itemback to summary
private COSBase item
keyback to summary
private COSName key
valueback to summary
private COSBase value

Constructor Detail

MapEntryback to summary
public MapEntry()

Method Detail

getItemback to summary
public COSBase getItem()

This will get the value for this entry.

Returns:COSBase

The value for this entry.

getKeyback to summary
public COSName getKey()

Get the key for this entry.

Returns:COSName

The entry's key.

getValueback to summary
public COSBase getValue()

This will get the value for this entry.

Returns:COSBase

The value for this entry.

setItemback to summary
public void setItem(COSBase val)

This will set the value for this entry.

Parameters
val:COSBase

the new value for this entry.

setKeyback to summary
public void setKey(COSName k)

This will set the key for this entry.

Parameters
k:COSName

the new key for this entry.

setValueback to summary
public void setValue(COSBase val)

This will set the value for this entry.

Parameters
val:COSBase

the new value for this entry.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

This will output a string representation of this class.

Returns:String

A string representation of this class.

Annotations
@Override