public enum CompositeFilterOperator extends Enum<CompositeFilterOperator>
CompositeFilter| Modifier and Type | Method and Description |
|---|---|
static CompositeFilter |
and(Filter... subFilters)
Builds an composite filter with 'AND' all the specified sub filters.
|
static CompositeFilter |
or(Filter... subFilters)
Builds an composite filter with 'OR' all the specified sub filters.
|
static CompositeFilterOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompositeFilterOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompositeFilterOperator AND
public static final CompositeFilterOperator OR
public static CompositeFilterOperator[] values()
for (CompositeFilterOperator c : CompositeFilterOperator.values()) System.out.println(c);
public static CompositeFilterOperator 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 static CompositeFilter and(Filter... subFilters)
subFilters - the specified sub filterspublic static CompositeFilter or(Filter... subFilters)
subFilters - the specified sub filtersCopyright © 2009–2019 B3log. All rights reserved.