public enum FunctionType extends Enum<FunctionType>
Enum Constant and Description |
---|
EMPTY |
EQ |
EVEN |
FIRST |
GT |
HAS |
LAST |
LT |
NOT |
ODD |
PARENT |
Modifier and Type | Method and Description |
---|---|
abstract <T> Function<?,?> |
getFunction(String argument,
SearchStrategy strategy,
TreeProvider<T> provider) |
static FunctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionType EQ
public static final FunctionType FIRST
public static final FunctionType LAST
public static final FunctionType GT
public static final FunctionType LT
public static final FunctionType HAS
public static final FunctionType PARENT
public static final FunctionType EMPTY
public static final FunctionType ODD
public static final FunctionType EVEN
public static final FunctionType NOT
public static FunctionType[] values()
for (FunctionType c : FunctionType.values()) System.out.println(c);
public static FunctionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract <T> Function<?,?> getFunction(String argument, SearchStrategy strategy, TreeProvider<T> provider)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.