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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
Copyright © 2013. All rights reserved.