CountedCompleter.firstComplete

If this task's pending count is zero, returns this task; otherwise decrements its pending count and returns {@code null}. This method is designed to be used with {@link #nextComplete} in completion traversal loops.

@return this task, if pending count was zero, else {@code null}

class CountedCompleter(T)
final
firstComplete
()

Meta