filter a sequence iterable of cards to a list of equal or smaller size whose names contain the given substring . we perform the substring search without sensitivity to case . concode_field_sep PlaceHolder placeHolder concode_field_sep CardList filter concode_elem_sep CardList CardListColorFilter concode_elem_sep CardList CardListTypeFilter concode_elem_sep Generator<Card> getSets concode_elem_sep Generator<Card> getColor concode_elem_sep Generator<Card> getRarity concode_elem_sep CardList CardListTextFilter
CardList function ( Iterable < Card > arg0 , String arg1 ) { String loc0 ; CardList loc1 = new CardList ( ) ; for ( Card loc2 : arg0 ) { loc0 = loc2 . getName ( ) . toLowerCase ( ) ; if ( loc0 . indexOf ( arg1 . toLowerCase ( ) ) >= 0 ) { loc1 . add ( loc2 ) ; } } return loc1 ; }