openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java
public static Stream<Bid.Builder> bidStreamWith(
      BidResponse.Builder response, @Nullable String seatFilter,
      @Nullable Predicate<Bid.Builder> bidFilter) {
    return StreamSupport.stream(
        new ResponseBidsIterator(response, seatFilter, bidFilter).spliterator(), false);
  }
public static Stream<Bid.Builder> bidStreamWith(
      BidResponse.Builder response, @Nullable String seatFilter,
      @Nullable Predicate<Bid.Builder> bidFilter) {
    return StreamSupport.stream(
        new ResponseBidsIterator(response, seatFilter, bidFilter).spliterator(), false);
  }
public static Stream < Bid . Builder > bidStreamWith ( BidResponse . Builder response , @ Nullable String seatFilter , @ Nullable Predicate < Bid . Builder > bidFilter ) { return StreamSupport . stream ( new ResponseBidsIterator ( response , seatFilter , bidFilter ) . spliterator ( ) , false ) ; }
Finds bids by a custom criteria.

@param bidFilter Filter for bids
@param seatFilter Filter for seat. You can use {@code null} to select the anonymous seat,
or {@link #SEAT_ANY} to not filter by seat
@return Read-only sequence of bids that satisfy the filter.
May have bids from multiple seats, grouped by seat
Finds bids by a custom criteria .