`
sqbo
  • 浏览: 2565 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表

Map遍历方式

map的三种遍历方法 写道 //集合的一个很重要的操作---遍历,学习了三种遍历方法,三种方法各有优缺点 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cn.tsp2c.liubao; import java.util.Collection; import java. ...
总结: 1. 使用<c:forEach>与<c:if>进行隔行换色  <c:forEach var=”item” items=”${list}”  varStatus=”statu”> <p <c:if test=${statu.index%2==0}>style=”backgrounde:red”</c:if>> ${item}</p> </c:forEach> 2.简单使用<c:forEach>进行隔行换色 <c:forEach var=”item” items=”${list} ...
Global site tag (gtag.js) - Google Analytics