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


< > BotCompany Repo | #1008448 - pnl - synonym of printNumberedLines

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

Libraryless. Click here for Pure Java version (2860L/18K).

static <A extends Iterable> A pnl(S prefix, A l) {
  printNumberedLines(prefix, l);
  ret l;

static <A extends Iterable> A pnl(A l) {
  ret l;

static <A extends Map> A pnl(A map) {
  ret map;

static <A extends Map> A pnl(S prefix, A map) {
  printNumberedLines(prefix, map);
  ret map;

static <A> A[] pnl(A[] a) {
  ret a;

sS pnl(S s) {
  ret s;

ifclass MultiSet
static <A> MultiSet<A> pnl(MultiSet<A> ms) {
  pnl(ms == null ? null : ms.asMap());
  ret ms;

Author comment

Began life as a copy of #1006335

download  show line numbers  debug dex   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jcllbfdqhrgy, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1008448
Snippet name: pnl - synonym of printNumberedLines
Eternal ID of this version: #1008448/16
Text MD5: 271a5670abe12b290e902e1962a93511
Transpilation MD5: 2da80112450e6f94ecfa8272bf37c908
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-29 23:09:57
Source code size: 626 bytes / 36 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 517
Version history: 15 change(s)
Referenced in: [show references]

Formerly at &