Vaiden
Vaiden

Reputation: 16122

Difference between Apache commons-collections' synchronizedList() and java.util.Collections.synchronizedList()

Any difference between java.util.Collections.synchronizedList() and Apache commons-collections' ListUtils.synchronizedList().

Any reason to prefer one over the other?

Upvotes: 1

Views: 426

Answers (1)

Adwait Kumar
Adwait Kumar

Reputation: 1604

The java doc clearly states,

This method is just a wrapper for Collections.synchronizedList(List).

So no difference.

Upvotes: 1

Related Questions