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

3
LINES

< > BotCompany Repo | #1031765 // findFieldsWithValue

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

Libraryless. Click here for Pure Java version (2882L/17K).

static Cl<Field> findFieldsWithValue(O o, O value) {
  ret filter(nonStaticNonPrimitiveFieldObjects(o), f -> eq(fieldGet(f, o), value));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031765
Snippet name: findFieldsWithValue
Eternal ID of this version: #1031765/2
Text MD5: b10e45263fc3128ddf6785d423270eae
Transpilation MD5: ddba83b17b126d369f61befc288d7663
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-29 08:59:38
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 78 / 120
Version history: 1 change(s)
Referenced in: [show references]