public enum Filter extends Enum<Filter>
Enum Constant and Description |
---|
ALL_FLATS
Filter all flats
|
NO_FILTER
Don't filter anything
|
WEEKENDS
Filter flats at the weekends (21:00 or 22:00 Friday - 21:00 or 22:00 Sunday)
|
Modifier and Type | Method and Description |
---|---|
static Filter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Filter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Filter NO_FILTER
public static final Filter WEEKENDS
public static final Filter ALL_FLATS
public static Filter[] values()
for (Filter c : Filter.values()) System.out.println(c);
public static Filter 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 nullCopyright © 2016. All rights reserved.