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


< > BotCompany Repo | #1028942 - too_thinkAndReturnObjectsOfType

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

Libraryless. Click here for Pure Java version (5955L/38K).

static <A> L<A> nuLike too_thinkAndReturnObjectsOfType(Class<A> type, TransformersOnObjects too) {
  new L<A> out;
  too.addTransformer(func(O o) {
    if (isInstance(type, o))
      out.add((A) o);
  ret out;

Author comment

Began life as a copy of #1028840

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028942
Snippet name: too_thinkAndReturnObjectsOfType
Eternal ID of this version: #1028942/1
Text MD5: caa7c2313ecb046a01bfdb24dee593e0
Transpilation MD5: 8774ea02e66480efef61532ad57346d1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-12 13:13:30
Source code size: 251 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 37 / 62
Referenced in: [show references]

Formerly at &