nitc :: MClassDefSorter :: _mmodule
nitc :: MClassDefSorter :: defaultinit
nitc :: MClassDefSorter :: mmodule
nitc :: MClassDefSorter :: mmodule=
nitc $ MClassDefSorter :: SELF
Type of this instance, automatically specialized in every classnitc :: MClassDefSorter :: _mmodule
core :: Comparator :: bubble_sort
Bubble-sortarray
between from
and to
indices
core :: Comparator :: build_heap
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
nitc :: MClassDefSorter :: defaultinit
core :: Comparator :: defaultinit
core :: Comparator :: insertion_sort
Insertion-sortarray
between from
and to
indices
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Comparator :: merge_sort
Merge-sortarray
between from
and to
indices
nitc :: MClassDefSorter :: mmodule
nitc :: MClassDefSorter :: mmodule=
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).core :: Comparator :: quick_sort
Quick-sortarray
between from
and to
indices
private class MClassDefSorter
super Comparator
redef type COMPARED: MClassDef
var mmodule: MModule
redef fun compare(a, b)
do
var ca = a.mclass
var cb = b.mclass
if ca != cb then return mmodule.flatten_mclass_hierarchy.compare(ca, cb)
return mmodule.model.mclassdef_hierarchy.compare(a, b)
end
end
src/model/model.nit:386,1--397,3