This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Class.getInterfaces() on [[I


In message <20000713013251.3722.qmail@web5403.mail.yahoo.com>
          sharon wu <lotus_june@yahoo.com> wrote:

>
>  Class clsss = Class.forName("[D");
>  harness.check ( clsss.getInterfaces().length, 1 );
> }
> These codes want to check getInterfaces() for [[I and
> [D, and retrun interfaces should be one. I wonder what
> interface of array of array interger or array of
> Double should be return?
> Does anyone has any ideas?

Also 1.  Arrays, regardless of dimension only implement 1 interface,
java.lang.Cloneable.

Peter

-- 
------------------------------------------------------------------------
 Peter Naulls - peter@erble.freeserve.co.uk
 Homepage - http://free.prohosting.com/~chocky/
 Java for RISC OS and ARM - http://free.prohosting.com/~chocky/java/
 Debian Linux on RiscPCs - http://www.erble.freeserve.co.uk/
------------------------------------------------------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]