mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[docs] Add missing JavaDocs (#6125)
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
|
||||
package edu.wpi.first.util;
|
||||
|
||||
/** This is a simple circular buffer so we don't need to "bucket brigade" copy old values. */
|
||||
/**
|
||||
* This is a simple circular buffer so we don't need to "bucket brigade" copy old values.
|
||||
*
|
||||
* @param <T> Buffer element type.
|
||||
*/
|
||||
public class CircularBuffer<T> {
|
||||
private T[] m_data;
|
||||
|
||||
@@ -17,7 +21,7 @@ public class CircularBuffer<T> {
|
||||
/**
|
||||
* Create a CircularBuffer with the provided size.
|
||||
*
|
||||
* @param size The size of the circular buffer.
|
||||
* @param size Maximum number of buffer elements.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public CircularBuffer(int size) {
|
||||
|
||||
Reference in New Issue
Block a user