Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缺少 getter 方法 #4

Closed
dugenkui03 opened this issue Nov 15, 2020 · 3 comments
Closed

缺少 getter 方法 #4

dugenkui03 opened this issue Nov 15, 2020 · 3 comments

Comments

@dugenkui03
Copy link

没有 getter 方法

@EeeMt
Copy link
Owner

EeeMt commented Nov 20, 2020

这个值拿来干啥, 不就是应该封装掉, 隐藏这些细节的吗

@dugenkui03
Copy link
Author

这个值拿来干啥, 不就是应该封装掉, 隐藏这些细节的吗

不能读取、这个字段存在的意义是什么

@EeeMt
Copy link
Owner

EeeMt commented Nov 22, 2020

这个值拿来干啥, 不就是应该封装掉, 隐藏这些细节的吗

不能读取、这个字段存在的意义是什么

和数据文件里的运营商标识对应啊, 对于调用方, 知道是哪个运营商就够了, 不需要关心怎么来的(这不就是封装的意义吗)

@EeeMt EeeMt closed this as completed Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants