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

11
LINES

< > BotCompany Repo | #1035395 // IBStack - interface to a backtracking stack

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

Transpiled version (8089L) is out of date.

interface IBStack<A> extends IStackWithOptions {
  // record an undoable action for backtracking
  void addUndo aka temp(AutoCloseable undo);
  
  // initiate a backtrack
  IBStack<A> backtrack();
  
  // get next result of computation
  A nextResult();
  A nextResultWithPrintStruct(long maxSteps);
}

Author comment

Began life as a copy of #1035394

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035395
Snippet name: IBStack - interface to a backtracking stack
Eternal ID of this version: #1035395/7
Text MD5: f6334c4eb935578093371aa7f17bf034
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-08 20:58:57
Source code size: 311 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 217
Version history: 6 change(s)
Referenced in: [show references]