Class EndsDemandSegment

java.lang.Object
org.ek9lang.compiler.support.streams.EndsDemandSegment
All Implemented Interfaces:
IntPredicate

public final class EndsDemandSegment extends Object implements IntPredicate
True for a stage that is lowered as a drain (or emits only after its loop): a head downstream of it cannot bound what flows into it, so the demand segment ends there.
  • Constructor Details

    • EndsDemandSegment

      public EndsDemandSegment()
  • Method Details

    • test

      public boolean test(int opType)
      Specified by:
      test in interface IntPredicate