question: private boolean bothLinksHaveSameLinkStats ( Link linkA , Link linkB ) { boolean bothLinksHaveSameLinkStats = true ; if ( linkA . getFreespeed ( ) != linkB . getFreespeed ( ) ) { bothLinksHaveSameLinkStats = false ; } if ( linkA . getCapacity ( ) != linkB . getCapacity ( ) ) { bothLinksHaveSameLinkStats = false ; } return bothLinksHaveSameLinkStats ; }
target:  Compare link attributes. Return whether they are the same or not.