code: @NotNull
      public LongStream takeUntil(@NotNull final LongPredicate stopPredicate) {
          return new LongStream(params, new LongTakeUntil(iterator, stopPredicate));
      }
docs: Takes elements while the predicate returns {@code false}.
  Once predicate condition is satisfied by an element, the stream
  finishes with this element.
  
  <p>This is an intermediate operation.
  
  <p>Example:
  <pre>
  stopPredicate: (a) -&gt; a &gt; 2
  stream: [1, 2, 3, 4, 1, 2, 3, 4]
  result: [1, 2, 3]
  </pre>
  
  @param stopPredicate  the predicate used to take elements
  @return the new {@code LongStream}
  @since 1.1.6