openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java
public static Iterable<Bid.Builder> bidsWith(
      BidResponse.Builder response, @Nullable String seatFilter,
      @Nullable Predicate<Bid.Builder> bidFilter) {
    return new ResponseBidsIterator(response, seatFilter, bidFilter);
  }
public static Iterable<Bid.Builder> bidsWith(
      BidResponse.Builder response, @Nullable String seatFilter,
      @Nullable Predicate<Bid.Builder> bidFilter) {
    return new ResponseBidsIterator(response, seatFilter, bidFilter);
  }
public static Iterable < Bid . Builder > bidsWith ( BidResponse . Builder response , @ Nullable String seatFilter , @ Nullable Predicate < Bid . Builder > bidFilter ) { return new ResponseBidsIterator ( response , seatFilter , bidFilter ) ; }
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 Sequence of all bids that satisfy the filter.
May have bids from multiple seats, grouped by seat
Finds bids by a custom criteria .