[docs] Add missing JavaDocs (#6125)

This commit is contained in:
Tyler Veness
2024-01-01 22:56:23 -08:00
committed by GitHub
parent 5579219716
commit ad0859a8c9
137 changed files with 1202 additions and 204 deletions

View File

@@ -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) {