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

13
LINES

< > BotCompany Repo | #1022879 // IntAttractor

JavaX fragment (include)

sclass IntAttractor > PJFindAttractor {
  int value;
  
  *() {
    super("<int>");
  }
  
  public bool find() {
    if (!super.find()) false;
    value = parseInt(get(tok(), 0));
    true;
  }
}

Author comment

Began life as a copy of #1022876

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: #1022879
Snippet name: IntAttractor
Eternal ID of this version: #1022879/1
Text MD5: dccade1c5d54b4ebb950fee80b2e1231
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-12 17:22:36
Source code size: 208 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 261 / 694
Referenced in: [show references]