public static enum N.Comparator extends Enum<N.Comparator> implements Lang.Func2<Number,Number,Boolean>
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Number n1,
Number n2) |
static N.Comparator |
of(String s) |
static N.Comparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static N.Comparator[] |
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, valueOfapplypublic static final N.Comparator GT
public static final N.Comparator GTE
public static final N.Comparator LT
public static final N.Comparator LTE
public static final N.Comparator EQ
public static final N.Comparator NE
public static N.Comparator[] values()
for (N.Comparator c : N.Comparator.values()) System.out.println(c);
public static N.Comparator 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 static N.Comparator of(String s)
Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.