Thursday, December 1, 2011

Re: [android-developers] Is this template in java

On Thu, Dec 1, 2011 at 9:15 AM, SL@maxis <ecp_gen@my-rialto.com> wrote:
>
> Java format:
>
>  ArrayAdapter(Context context, int textViewResourceId, List<T> objects)
>
>
> Is the above template like in C++ ?

More or less.

> I have a 15-year Java book; I think there is no such thing in there.

Correct.

> I did a little search on net, but did not see documents explaining the
> above.

http://en.wikipedia.org/wiki/Generics_in_Java
http://docs.oracle.com/javase/tutorial/java/generics/index.html
http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate