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

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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

#1 User is offline   hotcoffee_19210 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 30-May 14

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users