项目已同步到 GitHub https://github.com/YourDeepEnd/HouseHoldBook 目前界面 部分源码 DatabaseHelper.java package com.example.householdbook; import android.content.Con ...
分类:
移动开发 时间:
2020-02-14 16:05:15
阅读次数:
89
IDEA 常用快捷键 这段时间用着IDEA写基于springboot的论坛项目, 写的过程顺便整理一下常用到的快捷键和快捷操作。 熟练使用的话还是很节省开发时间的。 快捷键 ctrl+p 方法内提示需要什么参数 ctrl+shift+n 查找文件 ctrl+b 点进连接或方法名 shift+F6 文 ...
分类:
其他好文 时间:
2020-02-14 14:53:16
阅读次数:
90
Vue中美元$符号的意思 vue的实例属性和方法 除了数据属性,Vue 实例还暴露了一些有用的实例属性与方法。它们都有前缀 $,以便与用户定义的属性区分开来。例如: var data = { a: 1 } var vm = new Vue({ el: '#example', data: data } ...
分类:
其他好文 时间:
2020-02-14 11:22:01
阅读次数:
174
先看一段mybatis的代码 <resultMap id="BaseResultMap" type="com.example.tsfunproj.entity.BaseDataMap"> <id column="id" property="id" jdbcType="INTEGER"/> <resu ...
分类:
数据库 时间:
2020-02-14 11:07:21
阅读次数:
103
螺旋矩阵二。题意是给一个数字n,请输出一个n x n的矩阵,被从1到n方这n方个数字填满。填满的方式同54题。例子, Example: Input: 3 Output: [ [ 1, 2, 3 ], [ 8, 9, 4 ], [ 7, 6, 5 ] ] 这个题跟54题做法几乎一样。也是要通过找到ro ...
分类:
其他好文 时间:
2020-02-14 10:54:23
阅读次数:
53
矩阵赋零。题意是给一个二维矩阵,如果其中有任何一个元素为0,请将0所在的行和列全都赋值为0。要求in-place做。例子, Example 1: Input: [ [1,1,1], [1,0,1], [1,1,1] ] Output: [ [1,0,1], [0,0,0], [1,0,1] ] Ex ...
分类:
其他好文 时间:
2020-02-14 10:51:07
阅读次数:
57
/*进入数据库*/ USE example; /*查询student表*/ SELECT * FROM student; 例子 /*进入数据库*/ USE `example`; /*判断是否存在这张表,存在就删除*/ DROP TABLE IF EXISTS `simple`; /*创建表*/ CR ...
分类:
数据库 时间:
2020-02-14 01:18:53
阅读次数:
113
1 """ 2 Given a binary tree, return the inorder traversal of its nodes' values. 3 Example: 4 Input: [1,null,2,3] 5 1 6 \ 7 2 8 / 9 3 10 Output: [1,3,2 ...
分类:
其他好文 时间:
2020-02-13 22:54:06
阅读次数:
53
1 """ 2 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. 3 An example is the root-to-leaf path 1- ...
分类:
其他好文 时间:
2020-02-13 22:42:21
阅读次数:
82
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: ...
分类:
其他好文 时间:
2020-02-13 20:46:21
阅读次数:
72