Class ExtractedCollection

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<IObject>, IObject

    public class ExtractedCollection
    extends AbstractExtractedCollection<IObject,​ICollectionExtractor>
    An class representing a collection extracted from the heap. It provides convenience methods for querying certain properties of the collection (e.g. size) and for extracting the elements of the collection
    Since:
    1.5
    See Also:
    Serialized Form
    • Method Detail

      • iterator

        public java.util.Iterator<IObject> iterator()
      • getNumberOfNotNullElements

        public java.lang.Integer getNumberOfNotNullElements()
                                                     throws SnapshotException
        Get the number of non-null elements contained in the collection
        Returns:
        the number of non-null elements
        Throws:
        SnapshotException