question: public static final Collection < Race > findRaces ( String stream , Collection < Race > races ) { Collection < Race > result = new ArrayList < > ( ) ; for ( Race r : races ) { for ( Entrant e : r . getEntrants ( ) ) { if ( stream . equalsIgnoreCase ( e . twitch ) ) { result . add ( r ) ; } } } return result ; }
target:  Help function to find races that contain the entrant with the given stream.