Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1023566 // numberEntriesInConceptField

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (11625L) is out of date.

1  
svoid mapMethodLike numberEntriesInConceptField(S field, L<? extends Concept> entries) {
2  
  for i over entries:
3  
    if (getInt(entries.get(i), field) == 0)
4  
      cset(entries.get(i), field, i+1);
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023566
Snippet name: numberEntriesInConceptField
Eternal ID of this version: #1023566/5
Text MD5: 99030e07fb01ad78f760cb4f78fe6e2d
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-29 03:42:08
Source code size: 200 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 400
Version history: 4 change(s)
Referenced in: [show references]