edu.wpi.first.wpilibj.networktables2.util
Class HalfQueue
java.lang.Object
edu.wpi.first.wpilibj.networktables2.util.HalfQueue
public class HalfQueue
- extends Object
A queue designed to have things appended to it and then to be read directly from the backing array
- Author:
- mwills
array
public final Object[] array
HalfQueue
public HalfQueue(int maxSize)
queue
public void queue(Object element)
- Push an element onto the stack
- Parameters:
element
-
isFull
public boolean isFull()
size
public int size()
clear
public void clear()
"For updated information see the Java FRC site"