org.gridkit.jvmtool.stacktrace.GenericStackElementList Maven / Gradle / Ivy
package org.gridkit.jvmtool.stacktrace;
public interface GenericStackElementList extends Iterable {
/**
* Stack has classical bottom up indexing.
* Frame at index 0 is last call frame, while last frame in list is root one.
*/
public T frameAt(int n);
public int depth();
public GenericStackElementList fragment(int from, int to);
public T[] toArray();
public boolean isEmpty();
}