SEGMENT REPORTING AND GEOGRAPHIC INFORMATION (Tables)
   | 
3 Months Ended | 
Sep. 30, 2024  | 
| Segment Reporting [Abstract] | 
 
 | 
| Schedule of Results for Reportable Segments | 
 The following is a summary of results for each of our three reportable segments for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Three Months Ended September 30, | 
 | 
 | 
 
| (In thousands) | 
2024 | 
 | 
2023 | 
 | 
 | 
 | 
 | 
 
| Semiconductor Process Control: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues | 
$ | 
2,575,151  | 
 | 
 | 
$ | 
2,135,478  | 
 | 
 | 
 | 
 | 
 | 
 
| Segment gross profit | 
1,616,782  | 
 | 
 | 
1,386,529  | 
 | 
 | 
 | 
 | 
 | 
 
| Specialty Semiconductor Process: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues | 
128,334  | 
 | 
 | 
126,719  | 
 | 
 | 
 | 
 | 
 | 
 
| Segment gross profit | 
64,494  | 
 | 
 | 
69,301  | 
 | 
 | 
 | 
 | 
 | 
 
| PCB and Component Inspection: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues | 
137,983  | 
 | 
 | 
136,043  | 
 | 
 | 
 | 
 | 
 | 
 
| Segment gross profit | 
57,537  | 
 | 
 | 
39,820  | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Totals: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Revenues for reportable segments | 
$ | 
2,841,468  | 
 | 
 | 
$ | 
2,398,240  | 
 | 
 | 
 | 
 | 
 | 
 
| Segment gross profit | 
$ | 
1,738,813  | 
 | 
 | 
$ | 
1,495,650  | 
 | 
 | 
 | 
 | 
 | 
 
  
 | 
| Schedule of Reconciliation of Total Reportable Segments Revenue to Total Revenue | 
 The following table reconciles total reportable segment revenues to total revenues for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Three Months Ended September 30, | 
 | 
 | 
 
| (In thousands) | 
2024 | 
 | 
2023 | 
 | 
 | 
 | 
 | 
 
| Total revenues for reportable segments | 
$ | 
2,841,468  | 
 | 
 | 
$ | 
2,398,240  | 
 | 
 | 
 | 
 | 
 | 
 
| Corporate allocations and effects of changes in foreign currency exchange rates | 
73  | 
 | 
 | 
(1,284) | 
 | 
 | 
 | 
 | 
 | 
 
| Total revenues | 
$ | 
2,841,541  | 
 | 
 | 
$ | 
2,396,956  | 
 | 
 | 
 | 
 | 
 | 
 
  
 | 
| Schedule of Reconciliation of Total Segment Gross Profit to Income Before Income Taxes | 
 The following table reconciles total segment gross profit to income before income taxes for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
|   | 
Three Months Ended September 30, | 
 | 
 | 
 
| (In thousands) | 
2024 | 
 | 
2023 | 
 | 
 | 
 | 
 | 
 
| Total segment gross profit | 
$ | 
1,738,813  | 
 | 
 | 
$ | 
1,495,650  | 
 | 
 | 
 | 
 | 
 | 
 
Acquisition-related charges, corporate allocations and effects of changes in foreign currency exchange rates(1)
  | 
44,703  | 
 | 
 | 
45,585  | 
 | 
 | 
 | 
 | 
 | 
 
| R&D | 
323,145  | 
 | 
 | 
311,214  | 
 | 
 | 
 | 
 | 
 | 
 
| SG&A | 
251,042  | 
 | 
 | 
239,645  | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Interest expense | 
82,171  | 
 | 
 | 
74,234  | 
 | 
 | 
 | 
 | 
 | 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Other expense (income), net | 
(40,935) | 
 | 
 | 
(26,739) | 
 | 
 | 
 | 
 | 
 | 
 
| Income before income taxes | 
$ | 
1,078,687  | 
 | 
 | 
$ | 
851,711  | 
 | 
 | 
 | 
 | 
 | 
 
  
__________________ 
(1)Acquisition-related charges primarily include amortization of intangible assets and other acquisition-related costs classified or presented as part of costs of revenues.
 | 
| Schedule of Revenues by Geographic Region | 
 The following is a summary of revenues by geographic region, based on ship-to location, for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| (Dollar amounts in thousands) | 
Three Months Ended September 30, | 
 | 
 | 
 
| 2024 | 
 | 
2023 | 
 | 
 | 
 | 
 | 
 
| Revenues: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| China | 
$ | 
1,198,305  | 
 | 
 | 
42  | 
% | 
 | 
$ | 
1,025,944  | 
 | 
 | 
43  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| North America | 
500,943  | 
 | 
 | 
18  | 
% | 
 | 
250,713  | 
 | 
 | 
10  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Taiwan | 
461,991  | 
 | 
 | 
16  | 
% | 
 | 
405,343  | 
 | 
 | 
17  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Korea | 
238,673  | 
 | 
 | 
8  | 
% | 
 | 
219,821  | 
 | 
 | 
9  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Japan | 
188,569  | 
 | 
 | 
7  | 
% | 
 | 
227,377  | 
 | 
 | 
10  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Europe and Israel | 
144,820  | 
 | 
 | 
5  | 
% | 
 | 
168,436  | 
 | 
 | 
7  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Rest of Asia | 
108,240  | 
 | 
 | 
4  | 
% | 
 | 
99,322  | 
 | 
 | 
4  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Total | 
$ | 
2,841,541  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
2,396,956  | 
 | 
 | 
100  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
  
 | 
| Schedule of Revenues by Major Products | 
 The following is a summary of revenues by major product categories for the indicated periods: 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| (Dollar amounts in thousands) | 
Three Months Ended September 30, | 
 | 
 | 
 
| 2024 | 
 | 
2023 | 
 | 
 | 
 | 
 | 
 
| Revenues: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Wafer Inspection | 
$ | 
1,368,943  | 
 | 
 | 
48  | 
% | 
 | 
$ | 
1,010,198  | 
 | 
 | 
42  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Patterning | 
576,409  | 
 | 
 | 
20  | 
% | 
 | 
542,488  | 
 | 
 | 
23  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Specialty Semiconductor Process | 
112,802  | 
 | 
 | 
4  | 
% | 
 | 
112,103  | 
 | 
 | 
5  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| PCB and Component Inspection | 
72,908  | 
 | 
 | 
3  | 
% | 
 | 
71,164  | 
 | 
 | 
3  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Services | 
644,152  | 
 | 
 | 
23  | 
% | 
 | 
560,292  | 
 | 
 | 
23  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Other | 
66,327  | 
 | 
 | 
2  | 
% | 
 | 
100,711  | 
 | 
 | 
4  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
| Total | 
$ | 
2,841,541  | 
 | 
 | 
100  | 
% | 
 | 
$ | 
2,396,956  | 
 | 
 | 
100  | 
% | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
  
 | 
| Schedule of Long-Lived Assets by Geographic Region | 
 
Land, property and equipment, net by geographic region as of the dates indicated below were as follows: 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
 | 
As of | 
 | 
As of | 
 
| (In thousands) | 
September 30, 2024 | 
 | 
June 30, 2024 | 
 
| Land, property and equipment, net: | 
 | 
 | 
 | 
 
| United States | 
$ | 
690,454  | 
 | 
 | 
$ | 
689,937  | 
 | 
 
| Europe | 
168,185  | 
 | 
 | 
155,812  | 
 | 
 
| Singapore | 
146,259  | 
 | 
 | 
148,557  | 
 | 
 
| Israel | 
80,986  | 
 | 
 | 
84,279  | 
 | 
 
| Rest of Asia | 
32,428  | 
 | 
 | 
31,383  | 
 | 
 
| Total | 
$ | 
1,118,312  | 
 | 
 | 
$ | 
1,109,968  | 
 | 
 
  
 |