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).

1  
srecord noeq G22AnalysisContext(G22Utils g22utils, BufferedImage image) {
2  
  SourceTriggeredStream<BufferedImage> imageStream;
3  
  
4  
  // value is OKOrError or calculating
5  
  Map<G22RecognizerScript, O> analyzerResults = syncMap();
6  
  
7  
  static O calculating;
8  
  
9  
  *(G22Utils *g22utils, SourceTriggeredStream<BufferedImage> *imageStream) {}
10  
  
11  
  O callAnalyzer(long analyzerID) {
12  
    var analyzer = getConcept(g22utils.concepts(), G22RecognizerScript, analyzerID);
13  
    if (analyzer == null)
14  
      fail("Analyzer with ID " + analyzerID + " not found");
15  
    ret callAnalyzer(analyzer);
16  
  }
17  
  
18  
  O callAnalyzer(G22RecognizerScript analyzer) {
19  
    ret analyzer.compileForAutoRun().get(this);
20  
  }
21  
}

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: 165 / 468
Version history: 7 change(s)
Referenced in: [show references]