开发中的英语积累 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.
相关推荐
能摆一天是一天34 分钟前
Spring ai vectorstore 使用本地模型导致只能匹配可行度为1.0的内容的解决方法笔记
java·笔记·spring
Purple Coder36 分钟前
基于电机控制的MatlabSenier模型
职场和发展
进阶的DW1 小时前
Wiki + Graph + RAG 知识库建设笔记2
笔记
AOwhisky1 小时前
Linux(CentOS)系统管理入门笔记(第四期)——文件系统(下篇):文件与目录操作实战——cpmvmkdirrmln
linux·运维·笔记·centos·云计算·文件系统
bmy-happy1 小时前
网安专业课程笔记sale
笔记
上海光华专利事务所1 小时前
【新闻资讯】《机电行业专利申请的撰写及审查答辩指南》发布
经验分享
网络与设备以及操作系统学习使用者2 小时前
通信的物理与逻辑双维度解析
学习·深度优先
浩瀚地学2 小时前
【Java基础复习】IO流(二)
java·开发语言·经验分享·笔记·学习
卡梅德生物科技小能手3 小时前
卡美德生物科普:CD226(DNAM-1)在干细胞培养中的功能机制与应用
经验分享·深度学习·生活
researcher-Jiang3 小时前
Manacher算法学习与应用
c++·学习·算法