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

@param x           x coordinate
@param y           y coordinate
@param maxDistance max distance
@return {@code this}
Equivalent of the $near operand