Add DataTypeFilter#NONE

This commit is contained in:
Luck committed 2020-06-13 21:07:59 +01:00
1 parent df324de9ec
commit 97a0dbebcb
1 file changed
+10
@@ -62,6 +62,16 @@ public enum DataTypeFilter implements Predicate<DataType> {
}
},
/**
* A data type filter indicating that no {@link DataType}s should be used.
*/
NONE {
@Override
public boolean test(DataType dataType) {
return false;
}
},
/**
* A data type filter indicating that only {@link DataType#NORMAL} should be used.
*/