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

9
LINES

< > BotCompany Repo | #1026610 // moreThanOneToken

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

Libraryless. Click here for Pure Java version (2217L/14K).

1  
sbool moreThanOneToken(S s) {
2  
  Producer<S> it = javaTokC_producer(s);
3  
  if (it.next() == null) false;
4  
  ret it.next() != null;
5  
}
6  
7  
sbool moreThanOneToken(LS tok) {
8  
  ret l(tok) > 3;
9  
}

Author comment

Began life as a copy of #1021093

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026610
Snippet name: moreThanOneToken
Eternal ID of this version: #1026610/4
Text MD5: 165b740086ac5a2d2525220142adc44d
Transpilation MD5: fea71cbff78823a85483bada8c8c2f37
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 15:08:47
Source code size: 191 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 214 / 314
Version history: 3 change(s)
Referenced in: [show references]