- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 RecyclerView的基本用法
由于RecyclerView是后来增加的控件,因此需要在build.gradle中引用其对象。dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',
2017-04-16 20:47:29 229
原创 枚举可能的组合泛型实现
static List> MakeObject(T[] chars) { List> temp = new List>(); if (chars.Length == 1) { var array = new List(); array.Add(ch
2017-04-03 20:36:26 432
原创 枚举可能的组合
工程中碰到根据客户提供的优惠券获取最优的组合情况。我采取的以序号的方式把所有可能的结果计算出来,然后进行比较排序,获取最优的组合。方式如下:/// /// 计算赠送红包金额 /// [TestMethod] public void Combination() { var abc =
2017-04-01 23:12:54 337
ThoughtWorks.QRCode 版本1.0.2774.19990
2015-05-29
监视网站IIS正常与否
2015-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人