项目用SVN比较多,所以大家都把精力放在如何在XCODE上使用SVN。配置SVN当然是很简单,但提交都默认出现git的提交窗,否则要到repositories界面去提交。目前没有找到什么更好的办法,就做了两个处理:1.在Repositories里面把 相应的 git相关的项目目录移除(见界面左下角的...
分类:
移动开发 时间:
2014-06-18 15:34:12
阅读次数:
225
如果是 rpm 安装的话,可以用 rpm -e mysql-server如果是yum安装的,可以用 yum remove mysql* 删除MySQL安装文件夹然后使用yum安装mysql:1、查看有哪些关于mysql的安装包: yum list mysql*2、安装mysql客户端: ...
分类:
数据库 时间:
2014-06-18 10:19:48
阅读次数:
388
题目链接 Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn...
分类:
其他好文 时间:
2014-06-17 23:45:10
阅读次数:
373
可以通过哈希表实现高效的集合操作。
接口
一个集合对象可以包含了以下接口:
public interface Set> {
public void add(Key key);
public boolean contains(Key key);
public void remove(Key key);
public int siz...
分类:
其他好文 时间:
2014-06-17 22:28:05
阅读次数:
288
题目
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from th...
分类:
其他好文 时间:
2014-06-17 21:38:12
阅读次数:
193
今天来写一点不一样的删除,修改,查询下面只写了几个方法 1 /// 2 /// 根据删除条件进行删除 3 /// 4 /// 5 public void remove(System.Linq.Expressions...
分类:
其他好文 时间:
2014-06-17 14:16:16
阅读次数:
153
题目
Given an array and a value, remove all instances of that value in place and return the new length.
The order of elements can be changed. It doesn't matter what you leave beyond the new ...
分类:
其他好文 时间:
2014-06-16 23:07:18
阅读次数:
188
新建集合listA,包含5个元素。
public class Student
{
public int Id { get; set; }
public string Name { get; set; }
}
List listA = new List();
listA.Add(new Student() { Id = 1, Name = "yl1" });
listA.Add(n...
分类:
其他好文 时间:
2014-06-16 20:37:36
阅读次数:
220
/**
*1.在Java5中新增加了java.util.Queue接口,用以支持队列的常见操作。该接口扩展了java.util.Collection接口。
*
*Queue使用时要尽量避免Collection的add()和remove()方法,而是要使用offer()来加入元素,使用poll()来获取
*或移除的元素。他们的优点是通过返回值..
分类:
其他好文 时间:
2014-06-16 15:01:35
阅读次数:
218
没什么太多讲的,可以使用递归和迭代两种方法来做,要仔细考虑各种输入情况。code如下:...
分类:
其他好文 时间:
2014-06-15 15:09:59
阅读次数:
145