Class 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 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 Detail

    • 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