driver-legacy/src/main/com/mongodb/DBCollection.java
public WriteResult insert(final DBObject[] documents, final WriteConcern aWriteConcern, final DBEncoder encoder) {
        return insert(asList(documents), aWriteConcern, encoder);
    }
public WriteResult insert(final DBObject[] documents, final WriteConcern aWriteConcern, final DBEncoder encoder) {
        return insert(asList(documents), aWriteConcern, encoder);
    }
public WriteResult insert ( final DBObject [ ] documents , final WriteConcern aWriteConcern , final DBEncoder encoder ) { return insert ( asList ( documents ) , aWriteConcern , encoder ) ; }
Insert documents into a collection. If the collection does not exists on the server, then it will be created. If the new document
does not contain an '_id' field, it will be added.

@param documents     {@code DBObject}'s to be inserted
@param aWriteConcern {@code WriteConcern} to be used during operation
@param encoder       {@code DBEncoder} to be used
@return the result of the operation
@throws com.mongodb.DuplicateKeyException if the write failed to a duplicate unique key
@throws com.mongodb.WriteConcernException if the write failed due some other failure specific to the insert command
@throws MongoException if the operation failed for some other reason
@mongodb.driver.manual tutorial/insert-documents/ Insert Documents
Insert documents into a collection . If the collection does not exists on the server then it will be created . If the new document does not contain an _id field it will be added .