hash maps
This commit is contained in:
parent
edcc33864c
commit
5c0d6025ea
|
@ -26,3 +26,10 @@ ${(content.url)!}
|
|||
|
||||
<!--time-->
|
||||
${listVo.updateTime?string('yyyy-MM-dd HH:mm:ss')}
|
||||
|
||||
<!--maps -->
|
||||
<#list testMap?keys as testKey>
|
||||
<option value="${testKey}" >
|
||||
${testMap[testKey]}
|
||||
</option>
|
||||
</#list>
|
||||
|
|
|
@ -11,6 +11,7 @@ public static void main(String[] args){
|
|||
cal.set(2017, Calendar.MARCH, 16, 0, 0, 0);
|
||||
Date date = cal.getTime();
|
||||
|
||||
// java ArrayList swap elements
|
||||
// url decode using java
|
||||
String result = java.net.URLDecoder.decode(url, "UTF-8");// java ArrayList swap elements
|
||||
Collections.swap(List<?> list, int i, int j);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue