[docs] Add missing JavaDocs (#6146)

This commit is contained in:
Tyler Veness
2024-01-04 08:38:06 -08:00
committed by GitHub
parent 6e58db398d
commit f29a7d2e50
145 changed files with 1106 additions and 94 deletions

View File

@@ -6,6 +6,7 @@ package edu.wpi.first.wpilibj.simulation;
import edu.wpi.first.hal.simulation.SimulatorJNI;
/** Simulation hooks. */
public final class SimHooks {
private SimHooks() {}

View File

@@ -14,9 +14,15 @@ import java.util.Objects;
*/
@SuppressWarnings("MemberName")
public class Color {
/** Red component (0-1). */
public final double red;
/** Green component (0-1). */
public final double green;
/** Blue component (0-1). */
public final double blue;
private String m_name;
/** Constructs a default color (black). */

View File

@@ -10,8 +10,13 @@ import java.util.Objects;
/** Represents colors with 8 bits of precision. */
@SuppressWarnings("MemberName")
public class Color8Bit {
/** Red component (0-255). */
public final int red;
/** Green component (0-255). */
public final int green;
/** Blue component (0-255). */
public final int blue;
/** Constructs a default color (black). */