driver-legacy/src/main/com/mongodb/QueryBuilder.java
public QueryBuilder near(final double x, final double y) {
        addOperand(QueryOperators.NEAR,
                   asList(x, y));
        return this;
    }
public QueryBuilder near(final double x, final double y) {
        addOperand(QueryOperators.NEAR,
                   asList(x, y));
        return this;
    }
Equivalent of the $near operand

@param x x coordinate
@param y y coordinate
@return {@code this}