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

7
LINES

< > BotCompany Repo | #1019345 // jdk_watchService_registerPath

JavaX fragment (include)

1  
please include function jdk_watchService_start.
2  
3  
static WatchKey jdk_watchService_registerPath(File path, VF1<File> listener, WatchEvent.Kind... eventKinds) ctex {
4  
  WatchKey key = path.toPath().register(jdk_watchService_start(), eventKinds);
5  
  jdk_watchService_start_listeners.put(key, listener);
6  
  ret key;
7  
}

Author comment

Began life as a copy of #1019344

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019345
Snippet name: jdk_watchService_registerPath
Eternal ID of this version: #1019345/5
Text MD5: 321096bde1217319315d973575c1c80f
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-03 12:58:36
Source code size: 316 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 347 / 390
Version history: 4 change(s)
Referenced in: [show references]