driver-core/src/main/com/mongodb/client/model/Filters.java
public static <TItem> Bson nin(final String fieldName, final TItem... values) {
        return nin(fieldName, asList(values));
    }
public static <TItem> Bson nin(final String fieldName, final TItem... values) {
        return nin(fieldName, asList(values));
    }
public static < TItem > Bson nin ( final String fieldName , final TItem ... values ) { return nin ( fieldName , asList ( values ) ) ; }
Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist.

@param fieldName the field name
@param values    the list of values
@param <TItem>   the value type
@return the filter
@mongodb.driver.manual reference/operator/query/nin $nin
Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist .