Class CosContainerValuesIterator.Entry
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.cos.CosContainerValuesIterator.Entry
-
- Enclosing class:
- CosContainerValuesIterator
public static class CosContainerValuesIterator.Entry extends java.lang.Object
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 notnull
and index is -1. If the parent CosContainer is CosArray then key is null and index is not negative. Entry may contain both key equalnull
and index equal -1. This occurs when the parent CosContainer or its type are not known.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
ASName
getKey()
CosObject
getValue()
-
-
-
Method Detail
-
getKey
public ASName 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
public CosObject getValue()
- Returns:
- CosObject which is value of this entry
-
-