[ 
https://issues.apache.org/jira/browse/COLLECTIONS-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608980#action_12608980
 ] 

Paul Benedict commented on COLLECTIONS-300:
-------------------------------------------

boolean isCollectionType(Class clazz);

Yes. Map, for example, does not implement Collection and yet it is a well-known 
collection interface. I could not find any other exception in the JDK, however, 
are there exceptions in Commons Collections that too should be considered?



> Method to query Class to determine if it is a collection
> --------------------------------------------------------
>
>                 Key: COLLECTIONS-300
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-300
>             Project: Commons Collections
>          Issue Type: Wish
>            Reporter: Paul Benedict
>            Priority: Minor
>             Fix For: 3.3
>
>
> Test a Class instance to determine whether it is a known JDK collection type. 
> Someone else should opine if other Apache Collection interfaces should be 
> included in the same or different method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to