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

15
LINES

< > BotCompany Repo | #1028799 // LineCompFullCached

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

Libraryless. Click here for Pure Java version (5851L/37K).

sclass LineCompFullCached > LineCompSemiCached {
  LS literals;

  *(File f) {
    LineCompReader reader = init(f);
    literalOffsets = null;
    literals = reader.literals;
  }
  
  int nLiterals() { ret l(literals); }
  
  S getLiteral(int i) {
    ret literals.get(i);
  }
}

Author comment

Began life as a copy of #1028795

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028799
Snippet name: LineCompFullCached
Eternal ID of this version: #1028799/7
Text MD5: 0e2d8d5d55105e27beaaedc176211438
Transpilation MD5: cd6216a2501172fe06958ed7df1d4283
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 00:53:22
Source code size: 292 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 554
Version history: 6 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)