Created
June 9, 2017 15:31
-
-
Save ailabs-software/6371ac6cd140ca87a9baae69c8865ec9 to your computer and use it in GitHub Desktop.
Anon source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DEFAULT_ACTIVE_FIELDS; | |
var Lpipelinesystem_dataservice_PipelineDAL_2_classLit = createForClass('pipelinesystem.dataservice', 'PipelineDAL', 169); | |
function $compare_1(this$static, s1, s2){ | |
var s1_rank, s2_rank; | |
s1_rank = $rankItem(this$static, s1); | |
s2_rank = $rankItem(this$static, s2); | |
if (s1_rank > s2_rank) { | |
return 1; | |
} | |
else if (s1_rank < s2_rank) { | |
return -1; | |
} | |
return 0; | |
} | |
function $rankItem(this$static, item_0){ | |
var clonedSegments; | |
if (item_0.segments) { | |
clonedSegments = new ArrayList_0(this$static.val$segments2); | |
$retainAll(clonedSegments, new ArrayList_0(item_0.segments)); | |
return clonedSegments.array.length; | |
} | |
else { | |
return 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment