英文词性
| 词性 | 说明 | 举例 |
|---|---|---|
n. |
名词 | student:学生 |
pron. |
代词 | you:你 |
adj. |
形容词 | happy:高兴的 |
adv. |
副词 | quickly:迅速地 |
v. |
动词 | run:跑 |
num. |
数词 | three:三 |
art. |
冠词 | the:这个 |
prep. |
介词 | at:在... |
conj. |
连词 | and:和 |
interj. |
感叹词 | wow:哇 |
一、Parentable
java
public interface SupportParentable {
...
}
| 词性 | 含义 |
|---|---|
adj. |
可作为父节点的;可拥有子项的 |
# 可嵌套容器
【parentable】 container
# 支持子元素的节点
【parentable】 node
# 该 UI 元素被设计为可作为父节点,允许添加子控件。
The UI element is designed as 【parentable】, allowing child controls to be added.
# 在场景图中,只有可作为父节点的节点才能包含其他对象。
In a scene graph, only 【parentable】 nodes can contain other objects.
二、Guideline
For more detailed information about tasks, the back stack, and navigation design guidelines
| 词性 | 含义 |
|---|---|
n. |
指导方针;规范;准则 |
# 编码规范
coding 【guideline】
# UI 设计指南
UI design 【guideline】
# 团队遵循统一的编码规范以保证代码一致性。
The team follows a unified coding 【guideline】 to ensure code consistency.
# Material Design 提供详细的 UI 设计指南。
Material Design provides detailed UI design 【guidelines】.
三、Manifest
AndroidManifest.xml
| 词性 | 含义 |
|---|---|
n. |
清单文件;声明文件 |
# Android 清单文件
Android 【manifest】
# Web 应用清单
Web App 【Manifest】
# 权限声明
permission 【manifest】
# 缺少必要的清单条目会导致应用无法启动。
Missing required 【manifest】 entries can cause the app to fail to launch.
四、Expire
java
public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) {
...
}
| 词性 | 含义 |
|---|---|
v. |
过期;失效 |
# 令牌过期
token 【expire】
# 会话过期时间
session 【expire】 time
# 登录令牌将在 30 分钟后过期。
The login token will 【expire】 in 30 minutes.
# 系统自动清理已过期的缓存数据以节省内存。
The system automatically cleans up 【expired】 cache data to save memory.
五、Condition
java
public final class Preconditions {
...
}
| 词性 | 含义 |
|---|---|
n. |
条件;状态;前提 |
# 循环终止条件
loop termination 【condition】
# 系统运行状态
system running 【condition】
# while 循环将持续执行,直到条件为 false。
The while loop continues until the 【condition】 evaluates to false.
# 函数入口处应进行前置条件检查以确保参数有效。
【Precondition】 checks should be performed at the function entry to validate parameters.
六、Optimize
Optimize Imports
| 词性 | 含义 |
|---|---|
v. |
优化;改进性能或效率 |
# 性能优化
performance 【optimize】
# 代码优化
code 【optimize】
# 编译器会自动优化无副作用的死代码。
The compiler automatically 【optimizes】 away dead code with no side effects.
# 图片资源经过优化后体积减小了 60%。
Image assets were 【optimized】, reducing their size by 60%.