creates a new metadata instance from the given metadataentries . if metadataentries is already a metadata instance , it is returned as is . this makes this method more suitable than the #metadata java.util.map copy-constructor . concode_field_sep MetaData EMPTY_META_DATA concode_elem_sep String UNSUPPORTED_MUTATION_MSG concode_elem_sep Map<String,Object> values concode_elem_sep long serialVersionUID concode_field_sep MetaData mergedWith concode_elem_sep Object readResolve concode_elem_sep Set<Entry<String,Object>> entrySet concode_elem_sep boolean containsKey concode_elem_sep Collection<Object> values concode_elem_sep void clear concode_elem_sep boolean isEmpty concode_elem_sep Object put concode_elem_sep Object remove concode_elem_sep boolean containsValue concode_elem_sep MetaData emptyInstance concode_elem_sep MetaData with concode_elem_sep int size concode_elem_sep MetaData and concode_elem_sep int hashCode concode_elem_sep Object get concode_elem_sep void putAll concode_elem_sep boolean equals concode_elem_sep MetaData withoutKeys concode_elem_sep Set<String> keySet
MetaData function ( Map < String , ? > arg0 ) { if ( arg0 instanceof MetaData ) { return ( MetaData ) arg0 ; } else if ( arg0 == null || arg0 . isEmpty ( ) ) { return MetaData . emptyInstance ( ) ; } return new MetaData ( arg0 ) ; }