question: find a single value of the given type in the given collection . concode_field_sep Enumeration<E> enumeration concode_elem_sep Map<K,List<V>> map concode_field_sep Iterator<E> toIterator concode_elem_sep E next concode_elem_sep void mergePropertiesIntoMap concode_elem_sep boolean containsInstance concode_elem_sep Collection<List<V>> values concode_elem_sep void remove concode_elem_sep List<V> remove concode_elem_sep boolean containsValue concode_elem_sep List<V> put concode_elem_sep MultiValueMap<K,V> unmodifiableMultiValueMap concode_elem_sep V getFirst concode_elem_sep int hashCode concode_elem_sep List<V> get concode_elem_sep void putAll concode_elem_sep A[] toArray concode_elem_sep MultiValueMap<K,V> toMultiValueMap concode_elem_sep void setAll concode_elem_sep Set<K> keySet concode_elem_sep void add concode_elem_sep List arrayToList concode_elem_sep void set concode_elem_sep Set<Entry<K,List<V>>> entrySet concode_elem_sep boolean containsKey concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep boolean isEmpty concode_elem_sep boolean containsAny concode_elem_sep boolean hasUniqueObject concode_elem_sep void clear concode_elem_sep boolean hasNext concode_elem_sep Map<K,V> toSingleValueMap concode_elem_sep boolean contains concode_elem_sep boolean contains concode_elem_sep E findFirstMatch concode_elem_sep int size concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep Class<?> findCommonElementType concode_elem_sep void mergeArrayIntoCollection
target: T function ( Collection < ? > arg0 , Class < T > arg1 ) { if ( isEmpty ( arg0 ) ) { return null ; } T loc0 = null ; for ( Object loc1 : arg0 ) { if ( arg1 == null || arg1 . isInstance ( loc1 ) ) { if ( loc0 != null ) { return null ; } loc0 = ( T ) loc1 ; } } return loc0 ; }