public boolean isSingle ( ) { // assume simplified if ( ( positiveQueryList . size ( ) == 1 ) && ( negativeQueryList . size ( ) == 0 ) ) { return true ; } else if ( ( positiveQueryList . size ( ) == 0 ) && ( negativeQueryList . size ( ) == 1 ) ) { return true ; } return false ; }
Checks if is single .