public enum SpikeComparator extends Enum<SpikeComparator> implements Comparator<Spike>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(Spike one,
Spike two) |
static SpikeComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpikeComparator[] |
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 SpikeComparator INSTANCE
public static SpikeComparator[] values()
for (SpikeComparator c : SpikeComparator.values()) System.out.println(c);
public static SpikeComparator 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.