public static enum Permission.DefaultComparator extends Enum<Permission.DefaultComparator> implements Comparator<Permission>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(Permission one,
Permission two) |
static Permission.DefaultComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.DefaultComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
equals
public static final Permission.DefaultComparator INSTANCE
public static Permission.DefaultComparator[] values()
for (Permission.DefaultComparator c : Permission.DefaultComparator.values()) System.out.println(c);
public static Permission.DefaultComparator 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 int compare(Permission one, Permission two)
compare
in interface Comparator<Permission>
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.