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

3
LINES

< > BotCompany Repo | #1033603 // domainPredicateToURLPredicate

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

Libraryless. Click here for Pure Java version (4566L/25K).

1  
static IPred<S> domainPredicateToURLPredicate(IPred<S> p) {
2  
  ret p == null ?: url -> p.get(domainOrNull(url));
3  
}

Author comment

Began life as a copy of #1033599

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033603
Snippet name: domainPredicateToURLPredicate
Eternal ID of this version: #1033603/1
Text MD5: a0706953bc9450abdd60acd124367f60
Transpilation MD5: c011dc3f8adbe79676a8ead7f8e9d605
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-14 21:11:17
Source code size: 115 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 97 / 149
Referenced in: [show references]