commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COLLECTIONS-300) Method to query Class to determine if it is a collection
Date Tue, 01 Jul 2008 10:31:45 GMT

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

Emmanuel Bourg commented on COLLECTIONS-300:
--------------------------------------------

This seems trivial :
\\
{code}Collection.class.isAssignableFrom(clazz){code}

> 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
>
> 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.


Mime
View raw message