I'm new to android and java but experience from other programming
languages tells me
this probably means that this generic accepts only type T which is
inherited from android.app.activity class.

Best regards,
Goran Genter


On Jun 9, 6:02 am, Raja Nagendra Kumar <nagendra.r...@tejasoft.com>
wrote:
> Hi,
>
> I see in android some special syntax (may be I am unaware of usage of
> generics this way)
> such as
>
> public static abstract class ActivityInstrumentationTestCase2<T
> extends android.app.Activity>  extends android.test.ActivityTestCase
>
> I am unable to know the exact meaning of
> ActivityInstrumentationTestCase2<T extends android.app.Activity>
>
> i.e the need and its implications of <T extends android.app.Activity>
>
> Could any one help what this means and where else to hunt for Java
> Generics support related to such kind of class declaration
>
> Regards,
> Nagendra

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to