Compares a single item. @param item1 first item to be compared @param item2 second item to be compared @return result of check @throws QueryException query exception
(final Item item1, final Item item2)
| 232 | * @throws QueryException query exception |
| 233 | */ |
| 234 | final boolean eval(final Item item1, final Item item2) throws QueryException { |
| 235 | if(comparable || item1.comparable(item2) || item1.type.isUntyped() || item2.type.isUntyped()) { |
| 236 | return op.eval(item1.compare(item2, null, false, info)); |
| 237 | } |
| 238 | throw compareError(item1, item2, info); |
| 239 | } |
| 240 | |
| 241 | @Override |
| 242 | public final CmpG invert() { |
no test coverage detected