inner class
常見(jiàn)例句
- Make an inner class in the parent class, which is a test case.
在父類(lèi)中建立一個(gè)內(nèi)部類(lèi),這個(gè)內(nèi)部類(lèi)是個(gè)測(cè)試用例。 - Instance initializers allow you to execute construction code for an anonymous inner class.
實(shí)例初始化器允許您爲(wèi)一個(gè)匿名內(nèi)部類(lèi)執(zhí)行搆造代碼。 - The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.
如果這個(gè)匿名類(lèi)可被作爲(wèi)一個(gè)內(nèi)部類(lèi)單獨(dú)放置,那麼清單 1 中的代碼將會(huì)簡(jiǎn)潔很多。 - The centre of gay life in Sydney is Oxford Street, an inner-city Victorian thoroughfare where once tough, working-class pubs have been transformed into the rowdiest gay drinking places in the world.
ECONOMIST: Gays and the Australian economy - Biden complements a Democratic ticket in areas that polls show Obama is weak — he has gravitas, foreign policy experience, knowledge of the inner workings of Washington, and an appeal to working-class voters.
NPR: Ohio Voters React To Biden Selection - But Republicans are hardly the ideal champions for a measure that primarily benefits poor blacks in the inner cities—not least because their own base, the middle-class suburbs, are perfectly happy with their local schools (which are often the reason why they live where they do).
ECONOMIST: Lexington 返回 inner class