Jump to content


Photo

How You Call This: List<object [ ]> And How Can It Be Sorted With Different Criterions?


  • Please log in to reply
No replies to this topic

#1 hotcoffee_19210

hotcoffee_19210

    New Member

  • Members
  • Pip
  • 1 posts

Posted 30 May 2014 - 05:56 AM

HI guys,

i have an question.
I'm very newbie so sorry because all of my questions.

How you call this statement:
List<Object [ ]>

Is it a list with object arrays?
Could it look like this:
Object 1 attribute1 attribute2 attribute3 attribute4 attribute5
Object 2 attribute1 attribute2 attribute3 attribute4 attribute5
Object 3 attribute1 attribute2 attribute3 attribute4 attribute5
and so on....

How could i sort this list with different criterions for attribute1 and attribute5 for the whole list?
I know that i could use the comparator, but i don't know how... :(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users