本节探讨类Collections,它提供了很多针对容器接口的通用功能,我们分为两节来介绍,本节探讨其中的通用算法,包括其用法和实现原理。 ...
分类:
编程语言 时间:
2016-11-14 07:55:11
阅读次数:
249
1. 使用资源文件夹导入并管理图片素材 /* *资源文件夹可以方便您进行图片管理,在读取图片时,不需要加上图片名的后缀.同时还可以提高软件的安全性,它会讲图片都加密压缩, *并保存到 Assets.car文件中. */ //创建一个图像类,用于加载和绘制图像. let img = UIImage(n ...
分类:
移动开发 时间:
2016-11-14 07:51:32
阅读次数:
273
一个虚拟机的完整版: # 创建虚拟主机 www.AAA.com<VirtualHost *:80>ServerName www.AAA.comDocumentRoot "d:/amp/apache/htdocs/AAA"SetEnv APPLICATION_ENV "development"<Dir ...
分类:
其他好文 时间:
2016-11-14 07:37:03
阅读次数:
156
#!/bin/bash#Date:2015.11.13#Description:first,buildtheneedfiles,secondpushtothemachine.#youneedtoinputyourhostip#Version:0.0.1echo"theminekeywillcometo"[!-f/root/.ssh/id_rsa]&&ssh-keygen-trsa-f~/.ssh/id_rsa-N‘‘[-f/root/.ssh/id_rsa.pub]&&cat/..
分类:
其他好文 时间:
2016-11-14 02:45:48
阅读次数:
134
在C++中,如果你写下 就相当于写下 1 classEmpty{ 2 public: 3 Empty();//default构造函数 4 Empty(constEmpty& rhs){……};//copy构造函数 5 ~Empty(){…}//析构函数 6 Empty&operator=(const ...
分类:
编程语言 时间:
2016-11-14 02:23:34
阅读次数:
189
以前遇到的问题,把问题重新整一下,以便查询。 ...
分类:
其他好文 时间:
2016-11-14 02:23:30
阅读次数:
177
英文文档: The behavior of round() for floats can be surprising: for example, round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: i ...
分类:
编程语言 时间:
2016-11-14 02:22:33
阅读次数:
274
卸载干净VMware: 用“VMware卸载清理程序”之类的软件就可以清理注册表中的残留信息http://www.crsky.com/soft/31558.html 暴力清除pdf保护密码: 比如“PDF password remover tool”,点击“open pdf file”选择文件,接着 ...
分类:
系统相关 时间:
2016-11-14 02:09:03
阅读次数:
257