Class BDebounce.Both
java.lang.Object
com.stuypulse.stuylib.streams.booleans.filters.BDebounce.Both
- Enclosing interface:
- BDebounce
A General Debounce Filter.
The input BStream must remain the constant for debounceTime before it changes the value it returns
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.stuypulse.stuylib.streams.booleans.filters.BDebounce
BDebounce.Both, BDebounce.Falling, BDebounce.Rising
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
get
(boolean next) Get next value in Filter based on the next value given
-
Constructor Details
-
Both
- Parameters:
debounceTime
- amount of time the BStream must remain constant before changing
-
-
Method Details