in out 泛型轉型

Kotlin規定方法的「傳入」參數為「泛型」用「in」,「傳回值」為傳出去的「泛型」類型為「out」。

results matching ""

    No results matching ""