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

10
LINES

< > BotCompany Repo | #1030479 // Hib - Stack hibernation event

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

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

// Hibernation event
sclass Hib extends Exception {
  L<VStack.Computable> stack = new L;
  
  *() {}
  *(L<VStack.Computable> *stack) {}

  void add(VStack.Computable entry) { stack.add(entry); }
  VStack asVStack() { ret new VStack(reversed(stack)); }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030479
Snippet name: Hib - Stack hibernation event
Eternal ID of this version: #1030479/2
Text MD5: 84b4d7368c94d173b3bda9be7121a820
Transpilation MD5: 03bbd3e4e8cbea3a6c843d8465aaf9c8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-01 17:10:13
Source code size: 264 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 227 / 436
Version history: 1 change(s)
Referenced in: [show references]