Tuesday, October 27, 2015

Core Java - How can we create a synchronized collection from given collection?



We can use Collections.synchronizedCollection(Collection c) to get a synchronized (thread-safe) collection backed by the specified collection.

No comments:

Post a Comment