public final class CompareUtil extends Object
| Constructor and Description |
|---|
CompareUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compareTo(Comparable thisValue,
Comparable otherValue,
org.apache.shardingsphere.sql.parser.core.constant.OrderDirection orderDirection,
org.apache.shardingsphere.sql.parser.core.constant.OrderDirection nullOrderDirection,
boolean caseSensitive)
Compare two object with order type.
|
public static int compareTo(Comparable thisValue, Comparable otherValue, org.apache.shardingsphere.sql.parser.core.constant.OrderDirection orderDirection, org.apache.shardingsphere.sql.parser.core.constant.OrderDirection nullOrderDirection, boolean caseSensitive)
thisValue - this valueotherValue - other valueorderDirection - order directionnullOrderDirection - order direction for null valuecaseSensitive - case sensitiveCopyright © 2020 The Apache Software Foundation. All rights reserved.