- 博客(6)
- 收藏
- 关注
原创 八种基本排序算法总结
这三天把基本算法学了一遍,现在做下总结,方便以后查看。 八种排序算法分别是:直接插入排序,希尔排序,冒泡排序,选择排序,堆排序,快速排序,归并排序,基数排序1.直接插入排序:数据集排序比较好的情况下使用 思路:第i个元素A,如果比前面的数字小,则前面的数字向后移动移位,A继续向前比较,直到不满足条件private static void insertSort(int[] data) {
2016-10-30 18:10:13
630
原创 Git连接GitHub详细步骤
首先 Git和Github是不同的东西! 如果分不清Git 和 Github的朋友,建议您百度,下面就不用看了。 下面正式开始 想看视频的朋友,请点击:http://www.le.com/ptv/vplay/24744949.html?ch=baidu_s (不是我的视频) 第一步,创建ssh key ①首先打开您的Git Bash 输入命令:ssh-keygen -t
2016-10-28 18:45:50
922
原创 Git 的简单命令
Git简单命令 Git bash下输入 git config --help 获得config帮助文档 git config --global user.name yourname 设置和修改名字 git config --global user.email [email protected] 设置和修改邮箱 git config --global --ad
2016-10-27 22:51:58
353
原创 TextInputLayout 的使用
final TextInputLayout til= (TextInputLayout) findViewById(R.id.til); til.setHint("please input some words:"); EditText et=til.getEditText(); et.addTextChangedListener(new TextWatcher() { @Overrid
2016-10-09 13:07:59
385
原创 监听EditText文字变化,TextWatcher详解
监听EditText文字变化,TextWatcher详解 学程序脚踏实地使用方便如下 EditText editText=(EditText)findViewById(R.id.edit_text); editText.addTextChangedListener(mTextWatcher);private TextWatcher mTextWatcher = new TextWatcher
2016-10-04 21:49:46
527
原创 简单的SQL语句记一下,免得自己忘记
Android SQLite 适用 创建表 ①create table if not exists table_name (_id Integer primary key autoincrement,column_1 Integer,column_2 String,column_3 blob); 删除表 ②drop table if exists table_name; 增 ③
2016-10-02 00:05:34
474
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人