is it possible to get the class of the interface <Set>
        Posted  
        
            by 
                user1164885
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user1164885
        
        
        
        Published on 2012-03-30T05:26:01Z
        Indexed on 
            2012/03/30
            5:29 UTC
        
        
        Read the original article
        Hit count: 123
        
java
Am having some arguments say (String a, Treeset b, Set c) and i try to get the class by arguments[i].getClass(); of the above arguments.. is it possible to get the class of the interface .
ex., Class[] argumentTypes = new Class [arguments.length];
                for (int i = 0 ; i < arguments.length ; i++)
                {
                    argumentTypes[i]    = arguments[i].getClass();
                }
        © Stack Overflow or respective owner