@Test public void testGetCollation() { assertSame(RelationOp.LT, QueryUtil.getCollation(QueryBuilder.Direction.DESCENDING)); assertSame(RelationOp.GT, QueryUtil.getCollation(QueryBuilder.Direction.ASCENDING)); }
@NotNull public static RelationOp getCollation(@NotNull QueryBuilder.Direction direction) { if (direction == ASCENDING) { return RelationOp.GT; }else { return RelationOp.LT; } }
QueryUtil { @NotNull public static RelationOp getCollation(@NotNull QueryBuilder.Direction direction) { if (direction == ASCENDING) { return RelationOp.GT; }else { return RelationOp.LT; } } }
QueryUtil { @NotNull public static RelationOp getCollation(@NotNull QueryBuilder.Direction direction) { if (direction == ASCENDING) { return RelationOp.GT; }else { return RelationOp.LT; } } private  QueryUtil(); }
QueryUtil { @NotNull public static RelationOp getCollation(@NotNull QueryBuilder.Direction direction) { if (direction == ASCENDING) { return RelationOp.GT; }else { return RelationOp.LT; } } private  QueryUtil(); @NotNull static String getSearchRoot(AuthorizableType type, ConfigurationParameters config); @NotNull static String getNodeTypeName(@NotNull AuthorizableType type); @NotNull static String escapeNodeName(@NotNull String string); @NotNull static String format(@NotNull Value value); @NotNull static String escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper); @NotNull static String escapeForQuery(@NotNull String value); @NotNull static RelationOp getCollation(@NotNull QueryBuilder.Direction direction); @Nullable static String getID(@Nullable Authorizable authorizable); }
QueryUtil { @NotNull public static RelationOp getCollation(@NotNull QueryBuilder.Direction direction) { if (direction == ASCENDING) { return RelationOp.GT; }else { return RelationOp.LT; } } private  QueryUtil(); @NotNull static String getSearchRoot(AuthorizableType type, ConfigurationParameters config); @NotNull static String getNodeTypeName(@NotNull AuthorizableType type); @NotNull static String escapeNodeName(@NotNull String string); @NotNull static String format(@NotNull Value value); @NotNull static String escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper); @NotNull static String escapeForQuery(@NotNull String value); @NotNull static RelationOp getCollation(@NotNull QueryBuilder.Direction direction); @Nullable static String getID(@Nullable Authorizable authorizable);  }