提交 999e267c authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting

上级 ac64cbc7
/* /*
* Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0, and the * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
* EPL 1.0 (http://h2database.com/html/license.html). Initial Developer: H2 * and the EPL 1.0 (http://h2database.com/html/license.html).
* Group * Initial Developer: H2 Group
*/ */
package org.h2.index; package org.h2.index;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator; import java.util.Comparator;
import java.util.HashSet; import java.util.HashSet;
import java.util.List; import java.util.List;
...@@ -386,14 +385,13 @@ public class IndexCondition { ...@@ -386,14 +385,13 @@ public class IndexCondition {
.isEverything(ExpressionVisitor.EVALUATABLE_VISITOR); .isEverything(ExpressionVisitor.EVALUATABLE_VISITOR);
} }
/** @Override
* for display in the debugger
*/
public String toString() { public String toString() {
return "column=" + column + ", compareType=" return "column=" + column +
+ compareTypeToString(compareType) + ", expression=" ", compareType=" + compareTypeToString(compareType) +
+ expression + ", expressionList=" + expressionList.toString() ", expression=" + expression +
+ ", expressionQuery=" + expressionQuery; ", expressionList=" + expressionList.toString() +
", expressionQuery=" + expressionQuery;
} }
private static String compareTypeToString(int i) { private static String compareTypeToString(int i) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论