static int katzeLog_pairsCloseInTime_maxSeconds = 12; // returns strings without date static L<Pair<S>> katzeLog_pairsCloseInTime() { new L<Pair<S>> l; for (Pair<S> p : listToOverlappingPairs(mL_katzeLog())) { long dateDiff = parseKatzeLogEntryDate(p.b)-parseKatzeLogEntryDate(p.a); if (dateDiff/1000.0 > katzeLog_pairsCloseInTime_maxSeconds) continue; l.add(pairMap dropLeadingSquareBracketStuff(p)); } ret l; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014657 |
Snippet name: | katzeLog_pairsCloseInTime |
Eternal ID of this version: | #1014657/1 |
Text MD5: | 63e0302edc0eca724eacd560817ccc06 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-29 00:02:19 |
Source code size: | 446 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 379 / 410 |
Referenced in: | [show references] |