你这个效率太底了
这叫稀疏矩阵,可以采用实现Map接口的Properties类(HashMap也一样)
Properties pro=new Properties();
pro.put("3","1");
这样只要放值为1 的索引
查询的时候
if(pro.getProperty("n")==null)
这叫稀疏矩阵,可以采用实现Map接口的Properties类(HashMap也一样)
Properties pro=new Properties();
pro.put("3","1");
这样只要放值为1 的索引
查询的时候
if(pro.getProperty("n")==null)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货