public enum FilterMatch extends Enum<FilterMatch>
Enum Constant and Description |
---|
DOESNT_MATCH
The element doesn't match the filter.
|
MATCHES
The element matches the filter.
|
UNDECIDED
The decision to let the element pass cannot be made at the moment and should be deferred until all other
elements are processed.
|
Modifier and Type | Method and Description |
---|---|
FilterMatch |
and(FilterMatch other) |
FilterMatch |
and(java.util.function.Supplier<FilterMatch> other) |
static FilterMatch |
fromBoolean(boolean value) |
FilterMatch |
negate() |
FilterMatch |
or(FilterMatch other) |
FilterMatch |
or(java.util.function.Supplier<FilterMatch> other) |
boolean |
toBoolean(boolean undecidedValue) |
static FilterMatch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterMatch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterMatch MATCHES
public static final FilterMatch DOESNT_MATCH
public static final FilterMatch UNDECIDED
public static FilterMatch[] values()
for (FilterMatch c : FilterMatch.values()) System.out.println(c);
public static FilterMatch 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 FilterMatch fromBoolean(boolean value)
public boolean toBoolean(boolean undecidedValue)
public FilterMatch and(FilterMatch other)
public FilterMatch and(java.util.function.Supplier<FilterMatch> other)
public FilterMatch or(FilterMatch other)
public FilterMatch or(java.util.function.Supplier<FilterMatch> other)
public FilterMatch negate()
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.