Method
compare
(final Item item, final Collation coll, final boolean transitive,
final InputInfo ii)
Source from the content-addressed store, hash-verified
| 49 | } |
| 50 | |
| 51 | @Override |
| 52 | public final int compare(final Item item, final Collation coll, final boolean transitive, |
| 53 | final InputInfo ii) throws QueryException { |
| 54 | final byte[] binary = item instanceof final Bin bin ? bin.binary(ii) : parse(item, ii); |
| 55 | return Token.compare(binary(ii), binary); |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * Converts the given item to a byte array. |
Callers
nothing calls this directly
Tested by
no test coverage detected