Libraryless. Click here for Pure Java version (13606L/92K).
scope conceptsWithFieldGreaterThan_sorted . sbool #verbose; static <A extends Concept> Cl<A> nuLike conceptsWithFieldGreaterThan_sorted(Class<A> c, S field, O value) { ret conceptsWithFieldGreaterThan_sorted(db_mainConcepts(), c, field, value); } static <A extends Concept> Cl<A> conceptsWithFieldGreaterThan_sorted(Concepts concepts, Class<A> c, S field, O value) { // indexed IFieldIndex<A, O> index = concepts.getFieldIndex(c, field); if (index cast ConceptFieldIndexDesc) ret reverseInPlace(index.objectsWithValueGreaterThan(value)); // filter manually if (verbose) print("conceptsWithFieldGreaterThan: table scan of " + c + " for field " + field); ret sortByFieldInPlace(field, objectsWhereFieldGreaterThan(concepts.list(c), field, value)); }
Began life as a copy of #1028354
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029652 |
Snippet name: | conceptsWithFieldGreaterThan_sorted - sort by field also |
Eternal ID of this version: | #1029652/1 |
Text MD5: | 78603b63a19fafedf2a28ea2bbd1a638 |
Transpilation MD5: | b132073ec3cc5823203dfa1eda16cf40 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-04 21:04:17 |
Source code size: | 795 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 220 / 315 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1029654 - lowestConceptByField |