- 博客(5)
- 收藏
- 关注
原创 链式队列的基本操作
链式队列的基本操作#include <stdio.h>#include <malloc.h>#include <conio.h>typedef char ElemType;typedef struct DataNode{ ElemType data; struct DataNode *next;}DataNode; //链队数据节点类型typedef struct{ DataNode *front; DataNode *rear;}
2021-11-23 18:52:26
450
原创 2021-08-31
MVC模式的使用JAVA类的调用顺序JAVA类的调用顺序Web层–>业务层–>持久层,也就是在Web层需要创建并调用业务层的对象,而业务层需要创建并调用持久层的对象例如://Web层对象public class CatAction { //创建业务层对象 CatShiwu shiwu=new CatShiwu(); //调用业务层方法 public void printCatName(){ System.out.println("小猫的名
2021-08-31 12:11:58
123
原创 【android开发】Bundle的使用
Bundle的数据类型引用自https://blog.youkuaiyun.com/dongyunlong123/article/details/85160580Bundle类用作携带数据类型,存放键值对形式的值。在调用Bundle对象的get…()方法值时,方法会从该变量中获取数据,然后对数据进行类型转换,转换成某种类型由该数据类型决定,get…()方法会把转换后的值返回private Button btn_ab; @Override protected void onCreate(Bu
2020-06-19 17:51:59
1233
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人