一、基本使用,获取提交的参数 二、异常情况处理 1、可以对传入参数指定参数名 错误信息: HTTP Status 400 - Required String parameter 'aa' is not present 2、可以通过required=false或者true来要求@RequestPara ...
分类:
编程语言 时间:
2016-05-24 16:34:06
阅读次数:
121
一、源码解析 二、总结 1). HashSet 实际上就是维护了一个 HashMap。HashSet 的元素对应的是 HashMap 中的 key,另外这个 HashMap 所有 key 对应的 value 都是 PRESENT。 2). 由于 HashSet 是一个 HashMap 的所有 key ...
分类:
编程语言 时间:
2016-05-24 13:35:02
阅读次数:
163
由于HashSet是基于HashMap的,理解HashMap就等于理解了HashSet,所以这篇文章就不上源码了 键值都是PRESENT,就是一个new Objcet PUT 操作 : return map.put(e,PRESENT) == null REMOVE操作: return map.re ...
分类:
编程语言 时间:
2016-05-23 14:52:51
阅读次数:
202
C - Present Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 460C C - Present Submit Status Pra ...
分类:
其他好文 时间:
2016-05-14 21:35:32
阅读次数:
260
Find your present! Problem Description In the new year party, everybody will get a "special present".Now it's your turn to get your special present, a ...
分类:
其他好文 时间:
2016-05-13 20:42:22
阅读次数:
258
1.前言
Form.Element包含了如下几个方法:
1) clear(field):清楚传入field表单控件的值。
2) disable(element):禁用某个表单控件。
3) enable(element):启用某个表单控件。
4) present(field):判断field表单控件是否有值。
5) f...
分类:
其他好文 时间:
2016-05-13 00:16:44
阅读次数:
112
1、course 11:The bucket list
The present perfect with ‘ever’ and ‘never’session 3
link
2、今日科技新闻Can Viv help where Siri flounders?
link
I’ll be upfront: I’ve got a pretty low opinion of Siri, Ap...
分类:
其他好文 时间:
2016-05-12 13:03:14
阅读次数:
217
js ajax在调用过程中如果请求外部连接,会报错。比如:
XMLHttpRequest cannot load ’'http://*****' No 'Access-Control-Allow-Origin' header is present on the requested resource
Origin 'http:/888*****' is therefore not all...
分类:
Web程序 时间:
2016-05-10 12:58:00
阅读次数:
194
Collection View Basics(集合视图基础)
To present its content onscreen, a collection view cooperates with many different objects. Some objects are custom and must be provided by your app. For example,...
分类:
移动开发 时间:
2016-05-06 12:16:15
阅读次数:
269
有两种方法实现一个视图控制器到屏幕上:把它嵌入到一个容器视图控制器或者是直接呈现它。容器视图控制器提供一个应用程序主要的导航功能,但是present 视图控制器也是一个重要的导航工具。你可以直接使用presentation 在当前视图控制器的最上层显示一个新的视图控制器。典型地,当你想要实现模态界面的时候直接present 视图控制器,但是你也可以基于其它目的使用它们。
对呈现视图控制器...
分类:
移动开发 时间:
2016-05-06 02:15:27
阅读次数:
246