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

4
LINES

< > BotCompany Repo | #1030136 // allThisDollarFields

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

Libraryless. Click here for Pure Java version (2591L/16K).

static L<Field> allThisDollarFields(O o) {
  new Matches m;
  ret filter(allFieldObjects(o), f -> startsWith(f.getName(), "this$", m) && isInteger(m.rest()));
}

Author comment

Began life as a copy of #1015801

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030136
Snippet name: allThisDollarFields
Eternal ID of this version: #1030136/1
Text MD5: 3fd3aac7502e74bd02be256775d70c28
Transpilation MD5: 5a92487e48f12cdb1e59396c58439dcb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-11 12:37:39
Source code size: 163 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 240 / 311
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030137 - copyAllThisDollarFields
#1033880 - hasThisDollarFields
#1034279 - thisDollarFieldNames