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

14
LINES

< > BotCompany Repo | #1017626 // New Facts [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Compilation Failed (14615L/103K).

!7

abstract !include once #1016122 // TextArea
 
sclass NewFacts > TextArea {
  void add(S s) {
    if (nemptyAfterTrim(s))
      setText(appendNewLineIfNempty(text()) + s);
  }
  
  void remove(S s) {
    setText(lines(nempties(listWithoutSet(lines(text()), lines(s)))));
  }
}

Author comment

Began life as a copy of #1016122

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017626
Snippet name: New Facts [Dyn Module]
Eternal ID of this version: #1017626/6
Text MD5: e5c060b94f3001973205534e38d1e3ce
Transpilation MD5: a58a7b91cf926fc93203d9f8ddb95e77
Author: stefan
Category: javax / gui
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-31 01:09:45
Source code size: 292 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 1867
Version history: 5 change(s)
Referenced in: [show references]