public void add(String key, Object value) {
        list.add(new BasicDBObject(key, value));
    }
public void add(String key, Object value) {
        list.add(new BasicDBObject(key, value));
    }
public void add ( String key , Object value ) { list . add ( new BasicDBObject ( key , value ) ) ; }
数组
数组