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

6
LINES

< > BotCompany Repo | #1032848 // tok_scanTypeArg

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

Libraryless. Click here for Pure Java version (3830L/22K).

// i must point at the opening bracket ("<")
// returns first type arg (?)
sS tok_scanTypeArg(LS tok, int i) {
  int j = tok_findEndOfTypeArg(tok, i);
  ret joinSubList(tok, i, j+1);
}

Author comment

Began life as a copy of #1017380

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032848
Snippet name: tok_scanTypeArg
Eternal ID of this version: #1032848/4
Text MD5: e713fa3c41a4ebac9df185232232b5a4
Transpilation MD5: cf6c561bff71ffaadae16ced040fcbd3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 20:59:34
Source code size: 191 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 75 / 116
Version history: 3 change(s)
Referenced in: [show references]