public enum ConnectedUserTypeDateComparator extends Enum<ConnectedUserTypeDateComparator> implements Comparator<ConnectedUserDTO>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(ConnectedUserDTO lhs,
ConnectedUserDTO rhs) |
static ConnectedUserTypeDateComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectedUserTypeDateComparator[] |
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 ConnectedUserTypeDateComparator INSTANCE
public static ConnectedUserTypeDateComparator[] values()
for (ConnectedUserTypeDateComparator c : ConnectedUserTypeDateComparator.values()) System.out.println(c);
public static ConnectedUserTypeDateComparator 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(ConnectedUserDTO lhs, ConnectedUserDTO rhs)
compare
in interface Comparator<ConnectedUserDTO>
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.