anonymous inner classes 中文意思是什麼

anonymous inner classes 解釋
匿名內部類:匿名內部類是沒有類名的局部內部類。

  • anonymous : adj. 1. 匿名的;無名的;假名的。2. 無個性特徵的。adv. -ly ,-ness n.
  • inner : adj (superl innermost inmost)1 內部的 (opp outer)。2 思想的,精神的;內心的,秘密的。n 1 內部...
  • classes : 故障種類
  1. Normally, such listeners are specified as instances of anonymous inner classes using the command pattern

    通常,這樣的偵聽器通過使用命令模式( command pattern )被指定為匿名內部類的實例。
  2. Anonymous inner classes are handy when you want to define callbacks on the fly

    匿名內部類可以方便的定義運行時回調。
  3. Anonymous inner classes

    匿名內部類
  4. This code uses an anonymous inner class, but you may also use named inner classes or independent classes as listeners

    此代碼使用了一個匿名的內部類,但您還可以使用指定的內部類或單獨的類作為監聽器。
  5. While i could do something similar with java code using anonymous inner classes, it s simply easier and less esoteric in groovy

    雖然我用java代碼時能用匿名內部類做類似的事情,但是用groovy更容易、神秘性更少一些。
分享友人