All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gridkit.jvmtool.stacktrace.StackFrameList Maven / Gradle / Ivy

package org.gridkit.jvmtool.stacktrace;

import java.util.List;

public interface StackFrameList extends Iterable, GenericStackElementList {

    /**
     * Stack has classical bottom up indexing.
     * Frame at index 0 is last call frame (tail), while last frame in list is root one.
     */
    public StackFrame frameAt(int n);
    
    public int depth();
    
    /**
     * Similar to {@link List#subList(int, int)}.
     * 
     * @throws IndexOutOfBoundsException
     */
    public StackFrameList fragment(int from, int to);
    
    public StackFrame[] toArray();
    
    public boolean isEmpty();
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy