码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
typescript 为什么使用 let呢
为什么是使用let呢 因为已经厌烦了 int var 呵呵 ...
分类:其他好文   时间:2016-09-16 22:52:23    阅读次数:137
POJ 1860 Currency Exchange (最短路)
Currency Exchange Problem Description Several currency exchange points are working in our city. Let us suppose that each point specializes in two part ...
分类:其他好文   时间:2016-09-16 07:52:57    阅读次数:200
POJ 2533 Longest Ordered Subsequence(最长上升子序列(NlogN)
传送门 Description A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any ...
分类:其他好文   时间:2016-09-16 00:16:11    阅读次数:138
swift 中异常的处理方法
swift 中什么时候需要处理异常,在调用系统某个方法的时,该方法最后有一个throws 说明该方法会抛出异常,如果一个方法抛出异常,那么需要对该异常进行处理 swift 异常处理提供了三种方法 方式一: try ,程序员手动处理异常 do { let regx = try NSRegularExp ...
分类:编程语言   时间:2016-09-16 00:12:18    阅读次数:166
spingAOP在springMVC中的使用(我用在拦截controller中的方法。主要用于登录控制)
首先截取了网上的一张配置execution的图片 我在项目中关于aop的配置:如果拦截controller的方法,需要在spring-mvc.xml文件中加入(如果在spring.xml中加入则无法拦截controller层方法) 使用 and not 来排除对某些方法的拦截 <!--let spr ...
分类:编程语言   时间:2016-09-15 17:44:51    阅读次数:355
Swift中异常处理(续集.正则)
正则表达式 1.创建正则表达式的规则 let pattern = "abc" 2.创建正则表达式对象 // 方式一:try方式 do { let regex = try NSRegularExpression(pattern: pattern, options: .CaseInsensitive) ...
分类:编程语言   时间:2016-09-15 12:30:45    阅读次数:150
Rotate Function
Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a ...
分类:其他好文   时间:2016-09-15 06:24:37    阅读次数:140
隐藏手机号、邮箱等敏感信息
隐藏手机号、邮箱等敏感信息 Intro 做项目的时候,页面上有一些敏感信息,需要用“*”隐藏一些比较重要的信息,于是打算写一个通用的方法。 Let's do it ! Method 1:指定左右字符数量 Method 1.1 中间的*的个数和实际长度有关 Method 1.2 : 中间的*的个数固定 ...
分类:移动开发   时间:2016-09-14 18:46:02    阅读次数:238
396. Rotate Function
Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a ...
分类:其他好文   时间:2016-09-14 07:18:03    阅读次数:185
[LeetCode] Rotate Function 旋转函数
Given an array of integers A and let n to be its length. Assume Bk to be an array obtained by rotating the array A k positions clock-wise, we define a ...
分类:其他好文   时间:2016-09-13 22:21:57    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!