Lew wrote: > Foo results = new Foo [tasks.length] [priorities.length]; > for (int tx = 0; tx < tasks.length; ++tx) > { > for (int px = 0; ix < priorities.length; ++px) > { > Task task = tasks[tx]; > Priority priority = priorities[px]; > results [px][tx] = whatDoYouWantHerePleaseTellUs(task, priority); >
Oops. '[tx][px]' . I got it backwards. } > } > > You need to tell us what you want in that box. > > Obviously it's a value that depends on the two indexing values. You likely > would want to factor > that out as a method on the two arguments as I showed here. > > So what do you want in that box? > > -- > Lew > > > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en