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)

please include function jdk_watchService_start.

static WatchKey jdk_watchService_registerPath(File path, VF1<File> listener, WatchEvent.Kind... eventKinds) ctex {
  WatchKey key = path.toPath().register(jdk_watchService_start(), eventKinds);
  jdk_watchService_start_listeners.put(key, listener);
  ret key;
}

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: 346 / 389
Version history: 4 change(s)
Referenced in: [show references]