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

5
LINES

< > BotCompany Repo | #1032851 // tok_scanTypeArgs

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

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

// i must point at the opening bracket ("<")
// returns full type args including brackets
sS tok_scanTypeArgs(LS tok, int i) {
  ret joinSubList(tok, i, tok_findEndOfAngleBracketPart(tok, i)+1);
}

Author comment

Began life as a copy of #1032848

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032851
Snippet name: tok_scanTypeArgs
Eternal ID of this version: #1032851/3
Text MD5: 2a7baca10424668d395c4cc264970bb3
Transpilation MD5: a89f8b02e454dc9006eef88ab3cf1df9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 21:03:19
Source code size: 202 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 181
Version history: 2 change(s)
Referenced in: [show references]