Pure-Essence.Net

Java List/Array syntax

Posted by: pureessence on: December 30, 2009

Something I always forget, a shortcut array syntax for Java:

List<T> listOfAnything = Arrays.asList(t1, t2);

2 Responses to "Java List/Array syntax"

So technical. But might be a good web reference.

Wow, the comment looks very stylish.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.