@ Override public int compareTo ( ICECandidate arg ) { if ( getPreference ( ) < arg . getPreference ( ) ) { return - 1 ; } else if ( getPreference ( ) > arg . getPreference ( ) ) { return 1 ; } return 0 ; }
Compare the to other Transport candidate .