Add DataTypeFilter#NONE

This commit is contained in:
Luck 2020-06-13 21:07:59 +01:00
parent df324de9ec
commit 97a0dbebcb
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -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.
*/