package Ġca . ul aval . glo . report . file . comparator Ċ Ċ import Ġca . ul aval . glo . report . file . extract Path Structure Ċ Ċ interface ĠPath Structure Comparator Ġ: ĠComparator < Path Structure > Ġ{ ĊĠĠĠ Ġfun Ġis Applicable ( p 0 : ĠPath Structure , Ġp 1 : ĠPath Structure ): ĠBoolean Ċ } Ċ Ċ private Ġval Ġpath Structure Comp ar ators Ġ= ĠlistOf ( Java Package Path Structure Comparator (), ĠDefault Path Structure Comparator ()) Ċ Ċ class ĠGroup Source And Test Files Path Comparator Ġ: ĠComparator < String > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcompare ( filePath 0 : ĠString , ĠfilePath 1 : ĠString ): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġpath Structure 0 Ġ= Ġextract Path Structure ( filePath 0 ) ĊĠĠĠĠĠĠĠ Ġval Ġpath Structure 1 Ġ= Ġextract Path Structure ( filePath 1 ) ĊĠĠĠĠĠĠĠ Ġreturn Ġpath Structure Comp ar ators . find ( fun ( comparator ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġcomparator . is Applicable ( path Structure 0 , Ġpath Structure 1 ) ĊĠĠĠĠĠĠĠ Ġ}) !!. compare ( path Structure 0 , Ġpath Structure 1 ) ĊĠĠĠ Ġ} Ċ } Ċ