XML 54 R32.htm IDEA: XBRL DOCUMENT
v3.19.3

Investments (Tables) | 6 Months Ended
--- | ---
Oct. 26, 2019
Investments |
Schedule of investments | Investments consist of the following (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | October 26, | ​ | April 30, | ​
​ |  | 2019 |  | 2019 |
​ | ​ | ​ | ​
Short-term investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Held-to-maturity securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Municipal securities | ​ | $ | 21,761 | ​ | $ | 5,332 | ​
U.S. government securities | ​ | ​ | 65,826 | ​ | ​ | 63,205 | ​
Corporate bonds | ​ | ​ | 74,048 | ​ | ​ | 81,950 | ​
Total held-to-maturity short-term investments | ​ | $ | 161,635 | ​ | $ | 150,487 | ​
Long-term investments: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Held-to-maturity securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Municipal securities | ​ | ​ | 5,015 | ​ | ​ | — | ​
U.S. government securities | ​ | ​ | — | ​ | ​ | 7,404 | ​
Corporate bonds | ​ | ​ | 2,495 | ​ | ​ | 1,982 | ​
Certificates of deposit | ​ | ​ | 1,021 | ​ | ​ | — | ​
Total held-to-maturity investments | ​ |  | 8,531 | ​ |  | 9,386 | ​
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Investment in limited partnership fund | ​ |  | 4,947 | ​ |  | — | ​
Total available-for-sale investments | ​ |  | 4,947 | ​ |  | — | ​
Total long-term investments | ​ | $ | 13,478 | ​ | $ | 9,386 | ​
Schedule of activity related to available-for-sale investments recorded in long-term investments | The following table is a summary of the activity related to the available-for-sale investments recorded in long-term investments (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | April 30, 2019 |  | Changes in |  | ​ |  | October 26, 2019 |
​ | ​ | Carrying | ​ | Fair Value | ​ | Sales or | ​ | Carrying |
​ | ​ | Value | ​ | Reflected in Net Income | ​ | Purchases | ​ | Value |
Investment in limited partnership | ​ | $ | — | ​ | $ | — | ​ | $ | 4,947 | ​ | $ | 4,947 |
Total investments without readily determinable fair values |  | $ | — |  | $ | — |  | $ | 4,947 | ​ | $ | 4,947 | ​
Held to maturity securities |
Investments |
Schedule of amortized cost, gross unrealized gains, gross unrealized losses, and estimated fair value of held-to-maturity investments | ​ The amortized cost, gross unrealized gains, gross unrealized losses, and estimated fair value of the held-to-maturity investments as of October 26, 2019 were as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | October 26, 2019 | ​
​ |  | ​ | ​ |  | Gross |  | Gross |  | ​ | ​ |
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair | ​
​ | ​ | Cost | ​ | Gains | ​ | Losses | ​ | Value | ​
Municipal securities | ​ | $ | 26,776 | ​ | $ | — | ​ | $ | (6) |  | $ | 26,770 | ​
U.S. government securities | ​ | ​ | 65,826 | ​ | ​ | 150 | ​ | ​ | — | ​ |  | 65,976 | ​
Corporate bonds | ​ | ​ | 76,543 | ​ | ​ | 52 | ​ | ​ | (11) | ​ |  | 76,584 | ​
Certificates of deposit | ​ | ​ | 1,021 | ​ | ​ | 1 | ​ | ​ | — | ​ | ​ | 1,022 | ​
Total held-to-maturity investments | ​ | $ | 170,166 | ​ | $ | 203 | ​ | $ | (17) | ​ | $ | 170,352 | ​
​ The amortized cost, gross unrealized gains, gross unrealized losses, and estimated fair value of the held-to-maturity investments as of April 30, 2019 were as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | April 30, 2019 |
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​ | ​
​ | ​ | Amortized | ​ | Unrealized | ​ | Unrealized | ​ | Fair |
​ | ​ | Cost |  | Gains |  | Losses |  | Value |
Municipal securities |  | $ | 5,332 | ​ | $ | 2 | ​ | $ | (1) | ​ | $ | 5,333 | ​
U.S. government securities | ​ |  | 70,609 | ​ | ​ | 78 | ​ | ​ | (52) | ​ | ​ | 70,635 | ​
Corporate bonds | ​ |  | 83,932 | ​ | ​ | 20 | ​ | ​ | (5) | ​ | ​ | 83,947 | ​
Total held-to-maturity investments |  | $ | 159,873 |  | $ | 100 |  | $ | (58) |  | $ | 159,915 | ​
Schedule of amortized cost and fair value by contractual maturity | The amortized cost and fair value of the held-to-maturity securities by contractual maturity at October 26, 2019 were as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Cost |  | Fair Value |
Due within one year | ​ | $ | 161,635 | ​ | $ | 161,819 | ​
Due after one year through five years | ​ |  | 8,531 | ​ |  | 8,533 | ​
Total | ​ | $ | 170,166 | ​ | $ | 170,352 | ​

X
- Definition Tabular disclosure of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=116654751&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information about investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_InvestmentHoldingsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the summary of investment holdings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-12C) -URI http://asc.fasb.org/extlink&oid=50485924&loc=d3e611225-123010 + Details
Name: | us-gaap_SummaryInvestmentHoldingsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_HeldtomaturitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |