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

5
LINES

< > BotCompany Repo | #1018478 // ExpectContainsOnce_string

JavaX fragment (include)

1  
srecord ExpectContainsOnce_string(S s) extends Expecter {
2  
  bool check(O o) {
3  
    ret o instanceof S && containsOnce((S) o, s);
4  
  }
5  
}

Author comment

Began life as a copy of #1018475

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018478
Snippet name: ExpectContainsOnce_string
Eternal ID of this version: #1018478/1
Text MD5: 166e2febb82090e68842c30373e501c2
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-01 18:01:09
Source code size: 137 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 879
Referenced in: [show references]