Package org.assertj.db.type.lettercase
Interface CaseComparison
- All Superinterfaces:
Comparator<String>
- All Known Implementing Classes:
CaseComparisons,LetterCase
Comparison on
String which consider the case.- Since:
- 1.1.0
- Author:
- Régis Pouiller
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the comparison.booleanReturns ifvalue1is equal tovalue2.Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
getComparisonName
String getComparisonName()Returns the name of the comparison.- Returns:
- The name of the comparison.
-
isEqual
Returns ifvalue1is equal tovalue2.- Parameters:
value1- The first value to compare.value2- The second value to compare.- Returns:
- If the two values are equal.
-