MCPcopy Create free account
hub / github.com/ReadyTalk/avian / push

Method push

test/extra/QueryDump.java:57–59  ·  view source on GitHub ↗
(List<T> stack, T value)

Source from the content-addressed store, hash-verified

55 }
56
57 private static <T> void push(List<T> stack, T value) {
58 stack.add(value);
59 }
60
61 private static <T> T pop(List<T> stack) {
62 return stack.remove(stack.size() - 1);

Callers 1

readMethod · 0.95

Calls 1

addMethod · 0.65

Tested by

no test coverage detected