Class IsForRangeBuffer

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

public final class IsForRangeBuffer extends Object implements IntPredicate
True for a stage that forces a for-range stream down the BUFFERED (drain-to-buffer) path: every stage that ends the demand segment (EndsDemandSegment) except join, which streams (it emits its result after the loop, so the range needs no buffer for it). Distinct from IsAsyncBarrier, which excludes async: on an unbounded cat source async is windowed, not buffered.
  • Constructor Details

    • IsForRangeBuffer

      public IsForRangeBuffer()
  • Method Details

    • test

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