File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confuse statement ?

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1392
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Joyce ,

This is exactly what I am looking for ...

How was your Beta-Tiger exam ... Very good ... right ?
 
Joyce Lee
Ranch Hand
Posts: 1392
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic