void function ( MongoClient arg0 , String arg1 , String arg2 , Consumer < MongoCollection < Document >> arg3 ) { onDatabase ( arg0 , arg1 , db -> { if ( contains ( db . listCollectionNames ( ) , arg2 ) ) { arg3 . accept ( db . getCollection ( arg1 ) ) ; } } ) ; }
perform the given operation on the named collection in the named database , if the database and collection both exist . concode_field_sep Pattern IPV6_ADDRESS_PATTERN concode_elem_sep Pattern ADDRESS_PATTERN concode_elem_sep String ADDRESS_DELIMITER concode_field_sep boolean contains concode_elem_sep boolean contains concode_elem_sep String replicaSetUsedIn concode_elem_sep void forEach concode_elem_sep void forEachCollectionNameInDatabase concode_elem_sep ServerAddress parseAddress concode_elem_sep void onDatabase concode_elem_sep void forEachDatabaseName concode_elem_sep void onCollectionDocuments concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep List<ServerAddress> parseAddresses