ConcurrentMap.putIfAbsent(Object, Supplier)? (original) (raw)
Philippe Marschall kustos at gmx.net
Sun May 26 11:30:51 UTC 2013
- Previous message: ConcurrentMap.putIfAbsent(Object, Supplier)?
- Next message: hg: jdk8/tl/jdk: 8014394: (fs) WatchService failing when watching \\server\$d
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26.05.2013 13:25, Peter Levart wrote:
Hi Philippe,
I think you are looking for Map.computeIfAbsent(K, Supplier) which was added to Map interface recently.
Yes I am, thanks.
Philippe
- Previous message: ConcurrentMap.putIfAbsent(Object, Supplier)?
- Next message: hg: jdk8/tl/jdk: 8014394: (fs) WatchService failing when watching \\server\$d
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]