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

21
LINES

< > BotCompany Repo | #1034524 // G22AnalysisContext

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

Uses 2164K of libraries. Click here for Pure Java version (50992L/267K).

srecord noeq G22AnalysisContext(G22Utils g22utils, BufferedImage image) {
  SourceTriggeredStream<BufferedImage> imageStream;
  
  // value is OKOrError or calculating
  Map<G22RecognizerScript, O> analyzerResults = syncMap();
  
  static O calculating;
  
  *(G22Utils *g22utils, SourceTriggeredStream<BufferedImage> *imageStream) {}
  
  O callAnalyzer(long analyzerID) {
    var analyzer = getConcept(g22utils.concepts(), G22RecognizerScript, analyzerID);
    if (analyzer == null)
      fail("Analyzer with ID " + analyzerID + " not found");
    ret callAnalyzer(analyzer);
  }
  
  O callAnalyzer(G22RecognizerScript analyzer) {
    ret analyzer.compileForAutoRun().get(this);
  }
}
  

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034524
Snippet name: G22AnalysisContext
Eternal ID of this version: #1034524/8
Text MD5: fe513c1bcfcb0edb13e0db8f87101e1b
Transpilation MD5: ca3c098b46fe711325cd6f50890113fc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-02 18:34:45
Source code size: 713 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 95 / 370
Version history: 7 change(s)
Referenced in: [show references]