public enum FileWeigher extends Enum<FileWeigher> implements com.google.common.base.Function<Path,Double>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Double |
apply(Path file) |
static FileWeigher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileWeigher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileWeigher INSTANCE
public static FileWeigher[] values()
for (FileWeigher c : FileWeigher.values()) System.out.println(c);
public static FileWeigher 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 © 2004–2014 The Kuali Foundation. All rights reserved.