question: get a collection of rest entities wrapped as collection items that have a particular state concode_field_sep String expand concode_elem_sep Integer endExpandIndex concode_elem_sep Integer size concode_elem_sep Integer startExpandIndex concode_field_sep List<T> returnItems concode_elem_sep List<T> returnDeletedAndAddedItems concode_elem_sep Integer getStartExpandIndex concode_elem_sep void addNewItem concode_elem_sep void ignoreDuplicatedChangeItemRequests concode_elem_sep List<V> returnDeletedAndAddedCollectionItems concode_elem_sep void removeInvalidChangeItemRequests concode_elem_sep String getExpand concode_elem_sep void addItem concode_elem_sep void addItem concode_elem_sep List<V> returnDeletedCollectionItems concode_elem_sep void setSize concode_elem_sep Integer getEndExpandIndex concode_elem_sep List<T> returnExistingItems concode_elem_sep List<V> returnAddedCollectionItems concode_elem_sep List<T> returnItemsWithState concode_elem_sep void setStartExpandIndex concode_elem_sep void addRemoveItem concode_elem_sep void setEndExpandIndex concode_elem_sep List<T> returnAddedItems concode_elem_sep List<V> returnExistingCollectionItems concode_elem_sep void setExpand concode_elem_sep void cloneInto concode_elem_sep List<V> returnExistingAndAddedCollectionItems concode_elem_sep Integer getSize concode_elem_sep List<T> returnExistingAndAddedItems concode_elem_sep List<T> returnDeletedItems
target: List < V > function ( final List < Integer > arg0 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; final List < V > loc0 = new ArrayList < V > ( ) ; for ( final V loc1 : getItems ( ) ) { if ( arg0 . contains ( loc1 . getState ( ) ) ) loc0 . add ( loc1 ) ; } return loc0 ; }