Interface LocalBarrier<S>

    • Method Detail

      • getEmptyBarrier

        default TraverserSet<S> getEmptyBarrier()
        Description copied from interface: Barrier
        If a barrier is unproductive then provide an empty object suitable to the implementation which can be used to represent that state. This is important for cases like by(out().order().fold()) where the order() might filter but the fold() means the traversal is productive.
        Specified by:
        getEmptyBarrier in interface Barrier<S>