boolean function ( MongoIterable < T > arg0 , Predicate < T > arg1 ) { try ( MongoCursor < T > loc0 = arg0 . iterator ( ) ) { while ( loc0 . hasNext ( ) ) { if ( arg1 . test ( loc0 . next ( ) ) ) return true ; } } return false ; }
determine if the supplied mongoiterable contains at least one element that satisfies the given predicate . concode_field_sep Pattern IPV6_ADDRESS_PATTERN concode_elem_sep Pattern ADDRESS_PATTERN concode_elem_sep String ADDRESS_DELIMITER concode_field_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 void onCollection concode_elem_sep List<ServerAddress> parseAddresses