Class FieldProvider<T>
java.lang.Object
com.acmerobotics.dashboard.config.reflection.FieldProvider<T>
- Type Parameters:
T
- type of the class field
- All Implemented Interfaces:
ValueProvider<T>
Value provider backed by a class field.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FieldProvider
-
-
Method Details
-
get
Description copied from interface:ValueProvider
Returns the value.- Specified by:
get
in interfaceValueProvider<T>
-
set
Description copied from interface:ValueProvider
Updates the value.ValueProvider.get()
should now return this new value.- Specified by:
set
in interfaceValueProvider<T>
-