org.gridkit.jvmtool.stacktrace.GenericStackElementList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sjk-stacktrace Show documentation
Show all versions of sjk-stacktrace Show documentation
Thread dumps: capture and encoding
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();
}