public enum CaseComparisons extends Enum<CaseComparisons> implements CaseComparison
String which consider the case.| Enum Constant and Description |
|---|
IGNORE
Comparison on
String which ignore the case. |
STRICT
Comparison on
String which strictly consider the case. |
| Modifier and Type | Method and Description |
|---|---|
static CaseComparisons |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaseComparisons[] |
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, valueOfgetComparisonName, isEqualcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final CaseComparisons IGNORE
String which ignore the case.public static final CaseComparisons STRICT
String which strictly consider the case.public static CaseComparisons[] values()
for (CaseComparisons c : CaseComparisons.values()) System.out.println(c);
public static CaseComparisons 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 © 2015–2017 AssertJ. All rights reserved.