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

13
LINES

< > BotCompany Repo | #1030102 // firstTatoebaEnglishSentences

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

Transpiled version (11559L) is out of date.

static LS firstTatoebaEnglishSentences(int n) {
  ifdef useBunzipForLibs
    var stream = bunzipSnippetToStream(#1400438);
  endifdef
  
  ifndef useBunzipForLibs
    var stream = gzipInputStream(loadLibrary(#1400585));
  endifndef
  
  temp CloseableItIt<S> it = linesFromReader(inputStreamReader(stream));
    
  ret map(s -> dropFirstSpacedColumns(2, s), takeFirst(n, it));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt, wnsclhtenguj

No comments. add comment

Snippet ID: #1030102
Snippet name: firstTatoebaEnglishSentences
Eternal ID of this version: #1030102/5
Text MD5: ef6b2d89cf7c137767c56209c460c0d3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-21 01:43:34
Source code size: 390 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 266 / 408
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)