Class CosContainerValuesIterator.Entry
java.lang.Object
com.adobe.internal.pdftoolkit.core.cos.CosContainerValuesIterator.Entry
- Enclosing class:
CosContainerValuesIterator
This class contains CosObject and the key or index at which it is stored
in the parent CosContainer. If the parent CosContainer is CosDictionary
then the key is not
null and index is -1.
If the parent CosContainer is CosArray then
key is null and index is not negative.
Entry may contain both key equal null
and index equal -1. This occurs when the parent CosContainer or its type are
not known.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Entry
-
-
Method Details
-
getKey
- Returns:
- Key under which the value of this entry is stored in the parent CosDictionary
-
getIndex
public int getIndex()- Returns:
- Index under which the value of this entry is stored in the parent CosArray
-
getValue
- Returns:
- CosObject which is value of this entry
-