public static enum TimeFilter.TimeComparator extends Enum<TimeFilter.TimeComparator> implements Optionable<FindOption>
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
accept(File file,
TimeFilter.TimeType timeType,
Date time) |
FindOption |
getOption() |
static TimeFilter.TimeComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeFilter.TimeComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeFilter.TimeComparator Older
public static final TimeFilter.TimeComparator Newer
public static TimeFilter.TimeComparator[] values()
for (TimeFilter.TimeComparator c : TimeFilter.TimeComparator.values()) System.out.println(c);
public static TimeFilter.TimeComparator 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 boolean accept(File file, TimeFilter.TimeType timeType, Date time)
public FindOption getOption()
getOption in interface Optionable<FindOption>Copyright © 2016. All Rights Reserved.