How to check if an Object is a Collection Type in Java?
<p>By using java reflection, we can easily know if an object is an array. What's the easiest way to tell if an object is a collection(Set,List,Map,Vector...)?</p>
