开发中的英语积累 P21:Parentable、Guideline、Manifest、Expire、Condition、Optimize

英文词性

词性 说明 举例
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%.
相关推荐
西岸行者3 天前
学习笔记:SKILLS 能帮助更好的vibe coding
笔记·学习
starlaky3 天前
Django入门笔记
笔记·django
勇气要爆发3 天前
吴恩达《LangChain LLM 应用开发精读笔记》1-Introduction_介绍
笔记·langchain·吴恩达
悠哉悠哉愿意3 天前
【单片机学习笔记】串口、超声波、NE555的同时使用
笔记·单片机·学习
一个人旅程~3 天前
如何用命令行把win10/win11设置为长期暂停更新?
linux·windows·经验分享·电脑
勇气要爆发3 天前
吴恩达《LangChain LLM 应用开发精读笔记》2-Models, Prompts and Parsers 模型、提示和解析器
android·笔记·langchain
qq_459234423 天前
【题库】| 商用密码应用安全性评估从业人员考核题库(四十)
职场和发展·密码学·学习方法·考核·商用密码·商用密码应用安全性评估·密评
敲敲了个代码3 天前
[特殊字符] 空数组的迷惑行为:为什么 every 为真,some 为假?
前端·javascript·react.js·面试·职场和发展
别催小唐敲代码3 天前
嵌入式学习路线
学习
AKA__Zas3 天前
初识基本排序
java·数据结构·学习方法·排序