edu.wpi.first.wpilibj.networktables2.util
Class Stack
java.lang.Object
edu.wpi.first.wpilibj.networktables2.util.ResizeableArrayObject
edu.wpi.first.wpilibj.networktables2.util.List
edu.wpi.first.wpilibj.networktables2.util.Stack
public class Stack
- extends List
A simple unsynchronized stack implementation
- Author:
- mwills
Fields inherited from class edu.wpi.first.wpilibj.networktables2.util.List |
size |
Constructor Summary |
Stack()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stack
public Stack()
push
public void push(Object element)
- Push an element onto the stack
- Parameters:
element
-
pop
public Object pop()
- Returns:
- the element on the top of the stack and remove it
Copyright © 2013. All rights reserved.