org.snapscript.common.Stack Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap-all Show documentation
Show all versions of snap-all Show documentation
Dynamic scripting for the JVM
package org.snapscript.common;
import java.util.Iterator;
public interface Stack extends Iterable{
T pop();
T peek();
T get(int index);
void push(T value);
Iterator iterator();
boolean contains(T value);
boolean isEmpty();
int size();
void clear();
}