The San Joaquin & amp ; Eastern Railroad ( SJ & amp ; E ) was a standard gauge common carrier railroad that operated in the foothills of the Sierra Nevada Mountains of Fresno County in the U.S. state of California .