官术网_书友最值得收藏!

Internal

Internal deals with the concept of a module. A module is defined as a Maven, Gradle, or an IntelliJ module. Any code that is marked as internal is visible from other classes and functions inside the same module. Effectively, internal acts as public to a module, rather than public to the universe:

    internal class Person { 
      fun age(): Int = 21 
    } 
主站蜘蛛池模板: 平塘县| 景德镇市| 武汉市| 昔阳县| 江源县| 汝城县| 兴化市| 信阳市| 郑州市| 郑州市| 沙洋县| 平遥县| 伊吾县| 岳普湖县| 广安市| 新和县| 富平县| 屏南县| 句容市| 重庆市| 武宣县| 道孚县| 上虞市| 航空| 自治县| 乾安县| 乐业县| 南陵县| 澜沧| 商城县| 青海省| 曲沃县| 马关县| 漳州市| 江安县| 道孚县| 安国市| 衡水市| 五华县| 天镇县| 同江市|