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

16
LINES

< > BotCompany Repo | #1033150 // AbstractCompressor

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

Libraryless. Click here for Pure Java version (7299L/42K).

asclass AbstractCompressor<A> extends Probabilistic {
  CompressionSearch<A> search;
  
  *() {}
  *(CompressionSearch<A> *search) {}
  
  void setSearch(CompressionSearch<A> search) {
    if (this.search != null && this.search != search) fail();
    this.search = search;
  }
  
  CompressionRegime<A> regime() { ret search?.regime(); }
  
  // get current best compressed representation
  //abstract A currentBestDecompressor aka get();
}

Author comment

Began life as a copy of #1033140

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033150
Snippet name: AbstractCompressor
Eternal ID of this version: #1033150/9
Text MD5: 53ff4bbd0e86f6b4482cb2ce3d8e61ea
Transpilation MD5: 737a4973283ba0129ddab6ee3b253fc6
Author: stefan
Category: javax / recognition by compression
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 20:08:21
Source code size: 455 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 245 / 376
Version history: 8 change(s)
Referenced in: #1033159 - AbstractCompressor_AnyType
#1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)