Stubbisms – Tony’s Weblog

WordPress Formatting preview

heading 1

heading 2

heading 3

heading 4

heading 5
heading 6
pre-formatted

paragraph

Java Code

public List transformList(List collection) {
// create one unique big map
List result = new ArrayList(1);
Map map = new HashMap();
for(Object o : collection){
Map element = (Map)o;
map.putAll(element);
}
result.add(map);
return result;
}

1 Comment »

  1. Hi

    How did you achieve the Java Code formatting?? I have been trying to format a post of mine for many hours now for my code in C#, but its been nothing but hitting a wall. Please let me know!

    Thanks a lot.
    Akshaya

    Comment by Akshaya — November 11, 2010 @ 10:26 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

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 )

Google+ photo

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

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: