public enum FunctionPackage extends java.lang.Enum<FunctionPackage> implements Feature<FunctionPackage>
SourceLevel by
default in tests.| Enum Constant and Description |
|---|
AVAILABLE |
UNAVAILABLE |
| Modifier and Type | Field and Description |
|---|---|
static FeatureType<FunctionPackage> |
FUNCTION_PACKAGE
Constant to pass to
SourceBuilder.feature(FeatureType) to get the current status of
FunctionPackage. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<ParameterizedType> |
biConsumer()
Parameterized type for
java.util.function.BiConsumer<T>, if available. |
com.google.common.base.Optional<ParameterizedType> |
consumer()
Parameterized type for
java.util.function.Consumer<T>, if available. |
java.lang.String |
toString() |
com.google.common.base.Optional<ParameterizedType> |
unaryOperator()
Parameterized type for
java.util.function.UnaryOperator<T>, if available. |
static FunctionPackage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FunctionPackage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionPackage AVAILABLE
public static final FunctionPackage UNAVAILABLE
public static final FeatureType<FunctionPackage> FUNCTION_PACKAGE
SourceBuilder.feature(FeatureType) to get the current status of
FunctionPackage.public static FunctionPackage[] values()
for (FunctionPackage c : FunctionPackage.values()) System.out.println(c);
public static FunctionPackage valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic com.google.common.base.Optional<ParameterizedType> consumer()
java.util.function.Consumer<T>, if available.public com.google.common.base.Optional<ParameterizedType> biConsumer()
java.util.function.BiConsumer<T>, if available.public com.google.common.base.Optional<ParameterizedType> unaryOperator()
java.util.function.UnaryOperator<T>, if available.public java.lang.String toString()
toString in class java.lang.Enum<FunctionPackage>