英文词性
| 词性 | 说明 | 举例 |
|---|
n. | 名词 | student:学生 |
pron. | 代词 | you:你 |
adj. | 形容词 | happy:高兴的 |
adv. | 副词 | quickly:迅速地 |
v. | 动词 | run:跑 |
num. | 数词 | three:三 |
art. | 冠词 | the:这个 |
prep. | 介词 | at:在... |
conj. | 连词 | and:和 |
interj. | 感叹词 | wow:哇 |
Stable
publicbooleanhasStableIds(){...}
# 稳定版本 【stable】 version
# 稳定状态 【stable】 state
# 该软件已发布稳定版本,适合生产环境使用。 The software has released a 【stable】 version, suitable for production use.
# 一旦 API 被标记为稳定,就不应随意更改其行为。 Once an API is marked as 【stable】, its behavior should not be changed arbitrarily.
Expand
publicvoidsetOnGroupExpandListener(OnGroupExpandListeneronGroupExpandListener){...}
# 展开菜单 【expand】 menu
# 扩展功能 【expand】 functionality
# 用户点击按钮以展开折叠的侧边栏。 The user clicks the button to 【expand】 the collapsed sidebar.
# 新版本将扩展系统对插件的支持。 The new version will 【expand】 the system’s support for plugins.
Collapse
publicvoidsetOnGroupCollapseListener(OnGroupCollapseListeneronGroupCollapseListener){...}
# 折叠面板 【collapse】 panel
# 折叠代码块 【collapse】 code block
# IDE 支持折叠多行注释以提高可读性。 The IDE supports 【collapsing】 multi-line comments to improve readability.
# 在移动设备上,导航栏默认处于折叠状态。 On mobile devices, the navigation bar is 【collapsed】 by default.
Deprecated
@DeprecatedpublicvoidonBackPressed(){...}
# 已弃用的 API 【deprecated】 API
# 不推荐使用的方法 【deprecated】 method
# 该函数已被标记为弃用,建议使用新替代方案。 This function has been marked as 【deprecated】; a new alternative is recommended.
# 请避免在新代码中使用任何已弃用的类或接口。 Avoid using any 【deprecated】 classes or interfaces in new code.
Press
@DeprecatedpublicvoidonBackPressed(){...}
# 按下按钮 【press】 button
# 触摸按压事件 touch 【press】 event
# 用户需按下确认键以提交表单。 The user must 【press】 the confirm button to submit the form.
# 在移动端,长按通常用于呼出上下文菜单。 On mobile devices, a long 【press】 is typically used to bring up a context menu.
Holder
publicabstractstaticclassViewHolder{...}
# 数据持有者类 data 【holder】 class
# 视图持有者 view 【holder】
# 我们创建了一个简单的数据持有者类来封装用户信息。 We created a simple data 【holder】 class to encapsulate user information.