MCPcopy Create free account
hub / github.com/apache/calcite / push

Method push

core/src/main/java/org/apache/calcite/util/Stacks.java:48–50  ·  view source on GitHub ↗

Adds an element to the stack.

(List<T> stack, T element)

Source from the content-addressed store, hash-verified

46 * Adds an element to the stack.
47 */
48 public static <T> void push(List<T> stack, T element) {
49 stack.add(element);
50 }
51
52 /**
53 * Removes an element from the stack. Asserts of the element is not the

Calls 1

addMethod · 0.65