"

2013 FRC Java API

"

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

java.lang.Object
  extended by 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

Field Summary
 Object[] array
           
 
Constructor Summary
HalfQueue(int maxSize)
           
 
Method Summary
 void clear()
           
 boolean isFull()
           
 void queue(Object element)
          Push an element onto the stack
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

array

public final Object[] array
Constructor Detail

HalfQueue

public HalfQueue(int maxSize)
Method Detail

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()

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"