Contents
Class Int3Stack
java.lang.Object
com.hypixel.hytale.builtin.buildertools.world.Int3Stack
A last-in-first-out stack of int triples, held as three ints per entry in one array.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Int3Stack
public Int3Stack() -
Int3Stack
public Int3Stack(int expectedSize)
-
-
Method Details
-
push
public void push(int x, int y, int z) -
isEmpty
public boolean isEmpty() -
size
public int size() -
pop
public void pop(@Nonnull org.joml.Vector3i out) Removes the most recently pushed position and writes it intoout.- Throws:
NoSuchElementException- if the stack is empty
-