N
Nick Valeontis
I know how to use Icomparable.
However, I can't figure out how to sort a generic linked list? (without
writing the algorithm)
Lets say I have something like this:
class DisJunctiveConstraintList : LinkedList<DisjunctiveConstraint>
class DisjunctiveConstraint { public int Selection ... }
And i want to sort by Selection ?
However, I can't figure out how to sort a generic linked list? (without
writing the algorithm)
Lets say I have something like this:
class DisJunctiveConstraintList : LinkedList<DisjunctiveConstraint>
class DisjunctiveConstraint { public int Selection ... }
And i want to sort by Selection ?