开发中的英语积累 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.
相关推荐
m4Rk_5 小时前
【论文阅读】Agent 记忆机制(83):Inside Out——用可演化 PersonaTree 构建 Agent 的核心长期记忆
论文阅读·人工智能·学习·开源·github
andyweike5 小时前
php笔记
开发语言·笔记·php
鬓戈6 小时前
Rust 语言与 AI 应用生态调研及学习路径
人工智能·学习·rust
传奇开心果编程6 小时前
【SwiftUI娓娓道来】第3课:让界面活起来——交互与动画指南
学习·macos·ui·ios·swiftui·swift
xian_wwq6 小时前
【学习笔记】等保合规安全基线核查实战
笔记·学习
传奇开心果编程7 小时前
【Jetpack Compose进阶学与练】第14课:系列收尾复习总结;Compose项目常见坑点汇总;学习路线与后续学习方向
android·学习·ui·kotlin·android jetpack
波力海苔夹心脆6757 小时前
C# 序列化与反序列化详解:System.Text.Json、Newtonsoft.Json、XmlSerializer 用法、特性选项与安全实践
经验分享·后端·c#·json·.net
西部驯兽师7 小时前
制造企业的信息化选型课题(一)
职场和发展
yangmu32037 小时前
发动机是怎么把油变成动力的:四冲程内燃机原理拆解
学习
m4Rk_7 小时前
【论文阅读】Agent 记忆机制(81):EMR——用情景记忆避免 Agent 在多步推理中反复绕圈
论文阅读·人工智能·学习·开源·github