1.泛型继承BaseAdapter public class MyAdapter<T> extends BaseAdapter { private Context mContext; private LinkedList<T> mData; public MyAdapter() { } public ...
分类:
其他好文 时间:
2021-02-18 13:03:00
阅读次数:
0
没啥太难的思路,代码如下: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * List ...
分类:
编程语言 时间:
2021-02-18 12:53:10
阅读次数:
0
大水题。。。 const int N=1e5+10; struct Node { string id; string name; int grade; }a[N]; int n,m; bool cmp1(Node &a,Node &b) { return a.id < b.id; } bool cm ...
分类:
其他好文 时间:
2021-02-17 15:07:19
阅读次数:
0
1047 Student List for Course Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, ...
分类:
其他好文 时间:
2021-02-17 14:09:06
阅读次数:
0
第一步 搭建运行环境 参考 mybatis 多对一查询的两种实现方式 第二步 编写代码 1、创建实体类Teacher和Student,一个老师给多个学生上课,一对多关系 Student package com.xiahui.pojo; import lombok.AllArgsConstructor ...
分类:
其他好文 时间:
2021-02-16 12:40:40
阅读次数:
0
Django批量导入数据库-bulk_create() if request.method == 'POST': text_list=request.POST.getlist('text') pwd_list = request.POST.getlist('pwd') datas = [] for ...
分类:
数据库 时间:
2021-02-16 12:34:27
阅读次数:
0
1、项目的定义 在《PMBOK 6th》中对项目定义如下: 为创造独特的产品、服务或成果而进行的临时性工作。 这个定义很短,但是每个词都很关键。首先是项目的特征: 独特性:独一无二,没有完全一样的两个项目,没法简单重复过去的做法。 临时性:也称一次性、阶段性,项目总有开始和结束,是“临时性”的工作。 ...
分类:
其他好文 时间:
2021-02-16 12:25:30
阅读次数:
0
markdown语法学习 标题 #空格 二级标题 ##空格 三级标题至六级标题#依次增加 字体 Hello World 粗体:在字体两边加** Hello World 斜体:在字体两边加* Hello World 粗体加斜体:在字体两边加*** Hello World 删除线:在字体两边加~~ 引用 ...
分类:
其他好文 时间:
2021-02-16 12:15:47
阅读次数:
0
Introduction: It's a paper to reorganize the knowledge of List Rendering in Vue official guide. So a lot of content is from the Vue Official guide. Th ...
分类:
其他好文 时间:
2021-02-16 12:03:49
阅读次数:
0
119. 杨辉三角 II 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 3 输出: [1,3,3,1] class Solution { public List<Integer> getRow(int rowI ...
分类:
其他好文 时间:
2021-02-16 11:50:12
阅读次数:
0