开发中的英语积累 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.
相关推荐
hjxu201610 小时前
【OpenClaw 龙虾养成笔记一】在远程服务器,使用Docker安装OpenClaw
服务器·笔记·docker
sinat_2554878110 小时前
读者、作家 Java集合学习笔记
java·笔记·学习
Edward1111111111 小时前
3.18异常学习
学习
observe10111 小时前
输入输出1
笔记
正经人_x12 小时前
学习日记34:UNETR
学习
科技林总12 小时前
【系统分析师】12.3 软件架构描述与表示
学习
wincheshe12 小时前
AI Agent 开发学习 --- 框架开发实践(三)
人工智能·学习
做怪小疯子13 小时前
蚂蚁暑期 319 笔试
算法·职场和发展
2501_9181269114 小时前
学习所有6502写游戏存档的语句
汇编·嵌入式硬件·学习·游戏·个人开发
ALex_zry14 小时前
跨操作系统文本换行符问题完全指南
经验分享·跨平台·工具推荐