How to check if an Object is a Collection Type in Java ?
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2010-04-16T08:40:06Z
Indexed on
2010/04/16
8:43 UTC
Read the original article
Hit count: 179
java
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...)?
© Stack Overflow or respective owner