package org.gridkit.jvmtool.stacktrace;

import java.util.Collection;

public class StackFrameArray extends AbstractStackFrameArray {

    final StackFrame[] array;
    final int from;
    final int to;

    public StackFrameArray(Collection<StackFrame> frames) {
        this(frames.toArray(new StackFrame[frames.size()]));