2023年10月20日

3.1 栈

摘要: 3.11 栈的基本概念 知识总览 注:数据结构三要素——逻辑结构、数据的运算、存储结构(物理结构) 栈的定义 栈(Stack)是只允许在一端进行插入或删除操作的线性表 重要术语:栈顶、栈底、空栈 栈的基本操作 lnitStack(&S):初始化栈。构造一个空栈s,分配内存空间。 DestroySta 阅读全文

posted @ 2023-10-20 23:02 hellowworld! 阅读(11) 评论(0) 推荐(0) 编辑

2.3 线性表的链式表示

摘要: 知识总览 2.3.1 单链表的定义 知识总览 单链表定义 #include<stdio.h> #include<string.h> #include<stdlib.h> struct LNode{ int data; struct LNode *next; }; int main(){ struct 阅读全文

posted @ 2023-10-20 19:39 hellowworld! 阅读(55) 评论(0) 推荐(0) 编辑

AOP面向切面编程

摘要: AspectJ 1. AspectJ对AOP的实现 1.1:添加相关的jar包 1.2:AspectJ的通知类型 (1)前置通知 (2)后置通知 (3)环绕通知 (4)异常通知 (5)最终通知 1.3:定义切面类 定义方法,在方法上定义各种注解通知 切入点表达式规则: execution(访问权限 阅读全文

posted @ 2023-10-20 16:55 hellowworld! 阅读(4) 评论(0) 推荐(0) 编辑

导航