Shareholders' Equity - Summary of Company's Stock Options and Changes During the Period (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Jan. 31, 2016
Oct. 31, 2015
Summary of Company's Stock Option Plans    
Option Plan, options exercisable 0  
2005 Option Plan [Member]    
Summary of Company's Stock Option Plans    
Option Plan, options exercisable 0  
Stock Options [Member]    
Summary of Company's Stock Option Plans    
Weighted Average Exercise Price per Option, Options outstanding, Beginning Balance $ 29.98  
Weighted Average Exercise Price per Option, Exercised 33.80  
Weighted Average Exercise Price per Option, Options outstanding, Ending Balance 29.59 $ 29.98
Weighted Average Exercise Price per Option, Vested and expected to vest 29.59  
Weighted Average Exercise Price per Option, Exercisable $ 29.27  
Weighted Average Remaining Contractual Term (years)    
Weighted Average Remaining Contractual Term, Options outstanding 3 years 7 months 6 days 3 years 8 months 12 days
Weighted Average Remaining Contractual Term, Vested and expected to vest 3 years 7 months 6 days  
Weighted Average Remaining Contractual Term, Exercisable 3 years 3 months 18 days  
Aggregate Intrinsic Value    
Aggregate Intrinsic Value, Options outstanding $ 2,797 $ 2,801
Aggregate Intrinsic Value, Vested and expected to vest 2,797  
Aggregate Intrinsic Value, Exercisable $ 2,503  
Stock Options [Member] | 2005 Option Plan [Member]    
Summary of Company's Stock Option Plans    
Option Plan, Options outstanding, Beginning Balance 56,000  
Option Plan, Exercised (5,200)  
Option Plan, Options outstanding, Ending Balance 50,800 56,000
Option Plan, Vested and expected to vest 50,800  
Option Plan, options exercisable 45,200 50,400
Stock Options [Member] | Minimum [Member]    
Option plan    
Option Price Per Share, Options outstanding, Beginning Balance $ 17.07  
Option Price Per Share, Exercised 33.67  
Option Price Per Share, Options outstanding, Ending Balance 17.07 $ 17.07
Stock Options [Member] | Maximum [Member]    
Option plan    
Option Price Per Share, Options outstanding, Beginning Balance 42.60  
Option Price Per Share, Exercised 33.84  
Option Price Per Share, Options outstanding, Ending Balance $ 42.60 $ 42.60