"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.util
Class Stack

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.util.ResizeableArrayObject
      extended by edu.wpi.first.wpilibj.networktables2.util.List
          extended by edu.wpi.first.wpilibj.networktables2.util.Stack

public class Stack
extends List

A simple unsynchronized stack implementation

Author:
mwills

Field Summary
 
Fields inherited from class edu.wpi.first.wpilibj.networktables2.util.List
size
 
Fields inherited from class edu.wpi.first.wpilibj.networktables2.util.ResizeableArrayObject
array
 
Constructor Summary
Stack()
           
 
Method Summary
 Object pop()
           
 void push(Object element)
          Push an element onto the stack
 
Methods inherited from class edu.wpi.first.wpilibj.networktables2.util.List
add, clear, contains, get, isEmpty, remove, remove, set, size
 
Methods inherited from class edu.wpi.first.wpilibj.networktables2.util.ResizeableArrayObject
arraySize, ensureSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stack

public Stack()
Method Detail

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

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"