@FunctionalInterface
public interface OptionalFeature
Modifier and Type | Field and Description |
---|---|
static OptionalFeature |
FALSE |
static OptionalFeature |
TRUE |
Modifier and Type | Method and Description |
---|---|
static OptionalFeature |
all(java.util.Collection<? extends OptionalFeature> features) |
static OptionalFeature |
any(java.util.Collection<? extends OptionalFeature> features) |
boolean |
isSupported() |
static OptionalFeature |
of(boolean supported) |
static final OptionalFeature TRUE
static final OptionalFeature FALSE
boolean isSupported()
static OptionalFeature of(boolean supported)
static OptionalFeature all(java.util.Collection<? extends OptionalFeature> features)
static OptionalFeature any(java.util.Collection<? extends OptionalFeature> features)