public class LetterCase extends Object implements CaseConversion, CaseComparison
| Modifier and Type | Field and Description |
|---|---|
static LetterCase |
COLUMN_DEFAULT
The default letter case for table.
|
static LetterCase |
PRIMARY_KEY_DEFAULT
The default letter case for table.
|
static LetterCase |
TABLE_DEFAULT
The default letter case for table.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String value1,
String value2) |
String |
convert(String value)
Converts the
String in parameter to another. |
String |
getComparisonName()
Returns the name of the comparison.
|
String |
getConversionName()
Returns the name of the conversion.
|
static LetterCase |
getLetterCase(CaseConversion conversion,
CaseComparison comparison)
Returns a instance of a letter case.
|
boolean |
isEqual(String value1,
String value2)
Returns if
value1 is equal to value2. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static LetterCase TABLE_DEFAULT
public static LetterCase COLUMN_DEFAULT
public static LetterCase PRIMARY_KEY_DEFAULT
public static LetterCase getLetterCase(CaseConversion conversion, CaseComparison comparison)
public String getComparisonName()
getComparisonName in interface CaseComparisonpublic boolean isEqual(String value1, String value2)
value1 is equal to value2.isEqual in interface CaseComparisonvalue1 - The first value to compare.value2 - The second value to compare.public int compare(String value1, String value2)
compare in interface Comparator<String>public String getConversionName()
getConversionName in interface CaseConversionCopyright © 2015–2017 AssertJ. All rights reserved.