Class MATCollectionExtractor

    • Constructor Summary

      Constructors 
      Constructor Description
      MATCollectionExtractor​(java.lang.String sizeField, java.lang.String capacityField)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IObjectArray extractEntries​(IObject collection)
      Extracts the array containing the collection content
      int[] extractEntryIds​(IObject collection)
      Returns the object ids (int) for all objects which are contained in the collection
      java.lang.Integer getCapacity​(IObject collection)
      Return the capacity of the collection, if applicable
      java.lang.Double getFillRatio​(IObject coll)
      Calculate the fill ratio of a collection
      java.lang.Integer getNumberOfNotNullElements​(IObject collection)
      Returns the number of non-null elements in the collection.
      java.lang.Integer getSize​(IObject collection)
      Extract the size of the collection.
      boolean hasCapacity()
      Check if the collection has capacity, e.g.
      boolean hasExtractableArray()
      Return true if the collection array based and the array can be extracted from the heap dump
      boolean hasExtractableContents()
      Check if the collection has extractable contents
      boolean hasFillRatio()
      Check if fill ratio for the collection can be calculated, i.e.
      boolean hasSize()
      Check if the size of the collection can be extracted.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait