Package edu.wpi.first.hal
Class AccumulatorResult
java.lang.Object
edu.wpi.first.hal.AccumulatorResult
public class AccumulatorResult extends Object
Structure for holding the values stored in an accumulator.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AccumulatorResult()
-
Method Summary
Modifier and Type Method Description void
set(long value, long count)
Set the value and count.
-
Field Details
-
Constructor Details
-
AccumulatorResult
public AccumulatorResult()
-
-
Method Details
-
set
Set the value and count.- Parameters:
value
- The total value accumulated.count
- The number of samples accumulated.
-