aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes confuse statement ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "confuse statement ?" Watch "confuse statement ?" New topic
Author

confuse statement ?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
There is an instruction in 2nd chapter of Tiger Developer book :

Map<String,List<List<int[]>>> map = getWeiredMap();

Am I understanding it right ?

Map < String , List<List<int[]>> > map = getWeiredMap();

The key can only be String .

Now value :

List<List<int[]>>


List< List<int[]> >

The value can only be a List .

Now what this list is having ...

List has index-value pair , index are not necessary ... So value of List is :

List<int[]>

And what this list is having .... is confusing me ...

Can any body help ...

thanks a lot .
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
List<int[]>

And what this list is having .... is confusing me ...


The element type for this list must be an int array.

Hope the following example could clear some of your doubts.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Thanks Joyce ,

This is exactly what I am looking for ...

How was your Beta-Tiger exam ... Very good ... right ?
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
How was your Beta-Tiger exam ... Very good ... right ?

Well, it's a 5-hours exam...just hope I didn't commit too many careless mistakes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: confuse statement ?