@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(Collection<? extends OptionalFeature> features) |
static OptionalFeature |
any(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(Collection<? extends OptionalFeature> features)
static OptionalFeature any(Collection<? extends OptionalFeature> features)
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.