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

4
LINES

< > BotCompany Repo | #1032251 // test_jreplace_dyn_allowNull (OK)

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

Libraryless. Click here for Pure Java version (3841L/22K).

svoid test_jreplace_dyn_allowNull() {
  assertEqualsVerbose("A.a.F. F .B.b.G.G",
    jreplace_dyn_allowNull("A.a.F. f .B.b.G.g", "<id>", (tok, start, end) -> cmp(tok.get(start), "d") >= 0 ? upper(joinSubList(tok, start, end)) : null);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032251
Snippet name: test_jreplace_dyn_allowNull (OK)
Eternal ID of this version: #1032251/3
Text MD5: c11b99dabb563bd9fae28e0ddba401e7
Transpilation MD5: 47fbe06e587c381de971d7ac85b56d8d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-23 00:45:26
Source code size: 239 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 252
Version history: 2 change(s)
Referenced in: [show references]