Libraryless. Click here for Pure Java version (18868L/117K).
final sclass ConceptFieldIndexDesc<A extends Concept, Val> extends ConceptFieldIndexBase<A, Val> { *(Class<A> cc, S field) { super(cc, field); } *(Concepts concepts, Class<A> cc, S field) { super(concepts, cc, field); } void init { valueToObject = treeMultiSetMap(reverseOrder()); } void register { concepts.addFieldIndex(cc, field, this); } public void close :: before { concepts.removeFieldIndex(cc, field, this); } synchronized L<A> objectsWithValueGreaterThan(O value) { SortedMap<O, Set<A>> subMap = ((SortedMap<O, Set<A>>) valueToObject.data).headMap(value); ret concatLists(values(subMap)); } }
Began life as a copy of #1008616
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1013539 | 
| Snippet name: | ConceptFieldIndexDesc - uses TreeMap | 
| Eternal ID of this version: | #1013539/26 | 
| Text MD5: | b472e99a1db5f70d98034de6f185a0d7 | 
| Transpilation MD5: | 2f53c3e8441be027f420dc8411356e7f | 
| Author: | stefan | 
| Category: | javax / concepts | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-10-06 10:53:50 | 
| Source code size: | 673 bytes / 21 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 812 / 1628 | 
| Version history: | 25 change(s) | 
| Referenced in: | [show references] |