java.lang.Object
com.stuypulse.stuylib.streams.booleans.filters.BButton.Both
All Implemented Interfaces:
BButton, BFilter
Enclosing interface:
BButton

public static class BButton.Both extends Object implements BButton
  • Constructor Details

    • Both

      public Both()
  • Method Details

    • get

      public boolean get(boolean next)
      Description copied from interface: BFilter
      Get next value in Filter based on the next value given
      Specified by:
      get in interface BFilter
      Parameters:
      next - next input value in the stream
      Returns:
      the output value of the filter