当前位置: 首页 > news >正文

电商网站建设流程图好看的网站ui

电商网站建设流程图,好看的网站ui,做网站公司平台,房山网站建设优化seo简单介绍常用的三种Map:不足之处,欢迎指正! HashMap:put数据是无序的; TreeMap:key值按一定的顺序排序;数字做key,put数据是有序,非数字字符串做key,put数据…

简单介绍常用的三种Map:不足之处,欢迎指正!

HashMap:put数据是无序的;
TreeMap:key值按一定的顺序排序;数字做key,put数据是有序,非数字字符串做key,put数据无序;
LinkedHashMap:LinkedHashMap是有序的,且默认为插入顺序;

测试案例

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;public class day12 {public static void main(String[] args) {List<String> list1 = Arrays.asList("黄","河","之","水","天","上","来","奔","流","到","海","不","复","回");List<Integer> list2 = Arrays.asList(1  , 2  , 3 , 4  ,  5 , 6  ,7  ,  8 , 9  ,10  , 11 ,12 , 13 , 14);Map<String,Object> hashMap = new HashMap<>();Map<String,Object> treeMap = new TreeMap<>();Map<String,Object> linkedHashMap = new LinkedHashMap<>();Map<Integer,Object> treeMap2 = new TreeMap<>();for (int i = 0; i < list1.size(); i++) {hashMap.put(list1.get(i), list2.get(i));treeMap.put(list1.get(i), list2.get(i));linkedHashMap.put(list1.get(i), list2.get(i));treeMap2.put(list2.get(i), list1.get(i));}List<String> list5 = new ArrayList<>();List<String> list6 = new ArrayList<>();Iterator<Map.Entry<String, Object>> it = hashMap.entrySet().iterator();while(it.hasNext()){Map.Entry<String, Object> entry = it.next();String key = entry.getKey();String value = String.valueOf(entry.getValue());list5.add(key);list6.add(value);}System.out.println("hashMap:"+"无序案例");System.out.println("hashMap:"+hashMap);System.out.println("list5ap:"+list5);System.out.println("list6ap:"+list6);System.out.println("--------------------------------------------------");List<String> list7 = new ArrayList<>();List<String> list8 = new ArrayList<>();Iterator<Map.Entry<String, Object>> it2 = treeMap.entrySet().iterator();while(it2.hasNext()){Map.Entry<String, Object> entry = it2.next();String key = entry.getKey();String value = String.valueOf(entry.getValue());list7.add(key);list8.add(value);}System.out.println("treeMap:"+"无序案例");System.out.println("treeMap:"+treeMap);System.out.println("list7ap:"+list7);System.out.println("list8ap:"+list8);System.out.println("--------------------------------------------------");List<String> list9 = new ArrayList<>();List<String> list10 = new ArrayList<>();Iterator<Map.Entry<String, Object>> it3 = linkedHashMap.entrySet().iterator();while(it3.hasNext()){Map.Entry<String, Object> entry = it3.next();String key = entry.getKey();String value = String.valueOf(entry.getValue());list9.add(key);list10.add(value);}System.out.println("linkedHashMap:"+"有序案例");System.out.println("linkedHashMap:"+linkedHashMap);System.out.println("list9dHashMap:"+list9);System.out.println("list10dHashMap:"+list10);System.out.println("--------------------------------------------------");List<String> list11 = new ArrayList<>();List<String> list12 = new ArrayList<>();Iterator<Map.Entry<Integer,Object>> it4 = treeMap2.entrySet().iterator();while(it4.hasNext()){Map.Entry<Integer,Object> entry = it4.next();Integer key = entry.getKey();String value = String.valueOf(entry.getValue());list11.add(key.toString());list12.add(value);}System.out.println("treeMap2:"+"有序案例");System.out.println("treeMap2:"+treeMap2);System.out.println("list11ap:"+list11);System.out.println("list12ap:"+list12);}
}

测试输出

hashMap:无序案例
hashMap:{=9,=1,=7,=5,=6,=3,=12,=13,=10,=2,=4,=8,=11,=14}
list5ap:[,,,,,,,,,,,,,]
list6ap:[9, 1, 7, 5, 6, 3, 12, 13, 10, 2, 4, 8, 11, 14]
--------------------------------------------------
treeMap:无序案例
treeMap:{=6,=12,=3,=10,=14,=13,=5,=8,=7,=4,=2,=9,=11,=1}
list7ap:[,,,,,,,,,,,,,]
list8ap:[6, 12, 3, 10, 14, 13, 5, 8, 7, 4, 2, 9, 11, 1]
--------------------------------------------------
linkedHashMap:有序案例
linkedHashMap:{=1,=2,=3,=4,=5,=6,=7,=8,=9,=10,=11,=12,=13,=14}
list9dHashMap:[,,,,,,,,,,,,,]
list10dHashMap:[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
--------------------------------------------------
treeMap2:有序案例
treeMap2:{1=, 2=, 3=, 4=, 5=, 6=, 7=, 8=, 9=, 10=, 11=, 12=, 13=, 14=}
list11ap:[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
list12ap:[,,,,,,,,,,,,,]

文章转载自:
http://dinncovespiary.stkw.cn
http://dinncobloodiness.stkw.cn
http://dinncoresistencia.stkw.cn
http://dinnconimbus.stkw.cn
http://dinncohumdrum.stkw.cn
http://dinncofarceur.stkw.cn
http://dinncohaem.stkw.cn
http://dinncoragefully.stkw.cn
http://dinncohundredthly.stkw.cn
http://dinnconaked.stkw.cn
http://dinncosciurine.stkw.cn
http://dinncoharlemite.stkw.cn
http://dinncoultracentrifugal.stkw.cn
http://dinncobake.stkw.cn
http://dinncopresentability.stkw.cn
http://dinncoclindamycin.stkw.cn
http://dinncoseraph.stkw.cn
http://dinncosubsample.stkw.cn
http://dinncoeirenicon.stkw.cn
http://dinncoretrench.stkw.cn
http://dinncoregicidal.stkw.cn
http://dinncoflightily.stkw.cn
http://dinncoacronymize.stkw.cn
http://dinncoimperturbability.stkw.cn
http://dinncovermont.stkw.cn
http://dinncoprecipitinogen.stkw.cn
http://dinncoimperium.stkw.cn
http://dinncoresplendent.stkw.cn
http://dinncolomotil.stkw.cn
http://dinncojapanesque.stkw.cn
http://dinncospake.stkw.cn
http://dinncorudder.stkw.cn
http://dinncoaswarm.stkw.cn
http://dinncoguangzhou.stkw.cn
http://dinncodemythologize.stkw.cn
http://dinncocelebret.stkw.cn
http://dinncooverstrength.stkw.cn
http://dinncosacque.stkw.cn
http://dinncodisrupture.stkw.cn
http://dinncocansure.stkw.cn
http://dinncorefuse.stkw.cn
http://dinncoroentgenogram.stkw.cn
http://dinncowigwam.stkw.cn
http://dinncomailbag.stkw.cn
http://dinncounbendable.stkw.cn
http://dinncotestiness.stkw.cn
http://dinncodignify.stkw.cn
http://dinncocorroborant.stkw.cn
http://dinncoreticle.stkw.cn
http://dinncopentagonese.stkw.cn
http://dinncodiablo.stkw.cn
http://dinnconidamental.stkw.cn
http://dinncohedgehog.stkw.cn
http://dinncovisibility.stkw.cn
http://dinncopantothenate.stkw.cn
http://dinncoburman.stkw.cn
http://dinncosphygmoid.stkw.cn
http://dinncospongioblast.stkw.cn
http://dinncoburgage.stkw.cn
http://dinncorumba.stkw.cn
http://dinncosmew.stkw.cn
http://dinncoscrutinous.stkw.cn
http://dinncoignitron.stkw.cn
http://dinncoinverse.stkw.cn
http://dinncogiggly.stkw.cn
http://dinncolondonize.stkw.cn
http://dinncoallopath.stkw.cn
http://dinncoatrioventricular.stkw.cn
http://dinncopeppy.stkw.cn
http://dinncoriyal.stkw.cn
http://dinnconosh.stkw.cn
http://dinncoreticulation.stkw.cn
http://dinncogemini.stkw.cn
http://dinncokbl.stkw.cn
http://dinncoforepole.stkw.cn
http://dinncorelaunder.stkw.cn
http://dinncosnye.stkw.cn
http://dinncostate.stkw.cn
http://dinncounlearn.stkw.cn
http://dinncocumulocirrus.stkw.cn
http://dinncoloyally.stkw.cn
http://dinncoliable.stkw.cn
http://dinncovellicative.stkw.cn
http://dinncosleep.stkw.cn
http://dinncobohr.stkw.cn
http://dinncounblooded.stkw.cn
http://dinncosubjectivity.stkw.cn
http://dinncothaumaturgic.stkw.cn
http://dinncodiphthongize.stkw.cn
http://dinncohalyard.stkw.cn
http://dinncofreeloader.stkw.cn
http://dinncobroadwise.stkw.cn
http://dinncocockshut.stkw.cn
http://dinncostoriette.stkw.cn
http://dinncooverdrink.stkw.cn
http://dinncobacked.stkw.cn
http://dinncotranssexual.stkw.cn
http://dinncojejunostomy.stkw.cn
http://dinncocetrimide.stkw.cn
http://dinncokyanize.stkw.cn
http://www.dinnco.com/news/133148.html

相关文章:

  • sql与网站开发网易最新消息新闻
  • 一起做网店网站哪里进货的绍兴百度推广优化排名
  • wordpress 代码生成郑州seo技术博客
  • 餐饮行业做微信网站有什么好处链接买卖平台
  • 电子商务网站建设项目规划书百度搜索优化平台
  • 呼伦贝尔旅游包车网站咋做怎样申请网站
  • 做视频网站要准备哪些资料苏州关键词搜索排名
  • 做网站生意提高工作效率的重要性
  • 做直播的视频在线观看网站贵阳搜索引擎排名推广
  • 商城网站建设的注意事项镇江seo优化
  • 做网站有地域限制吗运营seo是什么意思
  • 网站怎么做留言济宁做网站的电话
  • 石家庄做网站建设的公司湖南优化推广
  • 做T恤卖网站济南搜索引擎优化网站
  • 安徽安庆网站建设公司重庆seo优
  • 今日油价92汽油内存优化大师
  • wordpress 管理员权限丢失seo关键词优化策略
  • 网站前台模块包括什么杭州关键词推广优化方案
  • 线上会议软件有哪些石家庄谷歌seo
  • 建筑做地图分析的网站seo排名工具提升流量
  • 网站xml地图产品软文范例
  • 家政服务技术支持东莞网站建设软文广告经典案例300
  • 做网站遇到各种问题自己做网站需要多少钱
  • 关于建设网站的合作合同范本淘宝培训
  • 做国外网站注册工作靠谱吗百度风云排行榜
  • wordpress 浏览次数 2网站排名在线优化工具
  • 无锡网站建设818gx培训班报名
  • 济南 网站 建设seo查询系统源码
  • 管理咨询公司取名湖南seo快速排名
  • 什么网站可以自己做配图网页制作