com.github.wz2cool.dynamic.builder.opeartor.NotIn Maven / Gradle / Ivy
package com.github.wz2cool.dynamic.builder.opeartor;
import com.github.wz2cool.dynamic.FilterOperator;
import java.util.*;
/**
* @author Frank
*/
public class NotIn implements IMultipleValueFilterOperator {
private List value;
public NotIn(T[] values) {
if (Objects.isNull(values)) {
this.value = new ArrayList<>();
} else {
this.value = Arrays.asList(values);
}
}
public NotIn(Collection values) {
if (Objects.isNull(values)) {
this.value = new ArrayList<>();
} else {
this.value = new ArrayList<>(values);
}
}
@Override
public FilterOperator getOperator() {
return FilterOperator.NOT_IN;
}
@Override
public List getValue() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy