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

10
LINES

< > BotCompany Repo | #1029011 // WithIntArray

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

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

sclass WithIntArray<A> extends Var<A> {
  int[] array; // assumed between 0 and 1
  
  *() {}
  *(int[] *array, A a) { super(a); }
  
  toString {
    ret super.toString() + (array == null ? "" : " with array of size " + l(array));
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029011
Snippet name: WithIntArray
Eternal ID of this version: #1029011/2
Text MD5: eaab059ab1e625539782307a2a9a848a
Transpilation MD5: ad3d04884bef82959d9ee837844b2c9a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-16 20:52:17
Source code size: 246 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 482
Version history: 1 change(s)
Referenced in: [show references]