开发中的英语积累 P26:Recursive、Parser、Pair、Matrix、Inset、Appropriate

英文词性

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

一、Recursive

java 复制代码
private void getPublicFieldsRecursive(List<Field> result) {
    ...
}
词性 含义
adj. 递归的
复制代码
# 递归函数

【recursive】 function

# 递归调用栈

【recursive】 call stack

# 计算阶乘的经典递归函数示例。

A classic example of a 【recursive】 function is calculating factorial.

# 树形结构遍历常使用递归算法。

Tree structure traversal often uses 【recursive】 algorithms.

二、Parser

java 复制代码
import libcore.reflect.GenericSignatureParser;
词性 含义
n. 解析器;分析器
复制代码
# 语法解析器

syntax 【parser】

# XML 解析器

XML 【parser】

# 浏览器内置 HTML 解析器将源码转换为 DOM 树。

The browser's built-in HTML 【parser】 converts source code into a DOM tree.

# 开发者常用 Jackson 库作为高性能 JSON 解析器。

Developers commonly use the Jackson library as a high-performance JSON 【parser】.

三、Pair

复制代码
The interface table (iftable_) contains pairs of a interface class and an array of the interface methods.
词性 含义
n. 对;配对
复制代码
# 键值对
key-value 【pair】

# 泛型对
generic 【pair】

# 在 Java 中,Map.Entry 表示一个键值对。

In Java, Map.Entry represents a key-value 【pair】.

# Python 的 tuple 可用作简单的坐标对。

Python's tuple can serve as a simple coordinate 【pair】.

四、Matrix

xml 复制代码
android:scaleType="matrix"
词性 含义
n. 矩阵;网格
复制代码
# 变换矩阵

transformation 【matrix】

# 3x3 矩阵

3x3 【matrix】

# 图形学中,使用变换矩阵对对象进行缩放、旋转和平移。

In graphics, transformation 【matrices】 are used to scale, rotate, and translate objects.

# 机器学习中,特征数据常表示为矩阵形式输入模型。

In machine learning, feature data is often represented as a 【matrix】 for model input.

五、Inset

java 复制代码
public final class Insets {
    ...
}
词性 含义
n. 内边距
v. 嵌入;凹陷
复制代码
# 内边距

padding 【inset】

# 视图内边距

view 【inset】

# Android 中,View 的 padding 属性控制其内容与边界的内边距。

In Android, a View's padding property controls the 【inset】 between its content and boundaries.

# CSS 的 inset 属性可同时设置 top, right, bottom, left 的偏移量。

CSS's 【inset】 property can set offsets for top, right, bottom, and left simultaneously.

六、Appropriate

复制代码
Return an Insets instance with the appropriate values.
词性 含义
adj. 适当的;合适的;恰当的
复制代码
# 合适时机
【appropriate】 time

# 正确配置
【appropriate】 configuration

# 选择适当的数据类型可提高代码效率和可读性。

Choosing an 【appropriate】 data type improves code efficiency and readability.

# 调试时应使用适当日志级别以避免信息过载。

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