开发中的英语积累 P21:Parentable、Guideline、Manifest、Expire、Condition、Optimize
2026/5/26 16:02:44 网站建设 项目流程

英文词性

词性说明举例
n.名词student:学生
pron.代词you:你
adj.形容词happy:高兴的
adv.副词quickly:迅速地
v.动词run:跑
num.数词three:三
art.冠词the:这个
prep.介词at:在...
conj.连词and:和
interj.感叹词wow:哇

一、Parentable

publicinterfaceSupportParentable{...}
词性含义
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

publicCacheBuilder<K,V>expireAfterWrite(longduration,TimeUnitunit){...}
词性含义
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

publicfinalclassPreconditions{...}
词性含义
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%.

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询