![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
面试
文章平均质量分 78
haobeiwei
这个作者很懒,什么都没留下…
展开
-
map集合的特殊
public class TestMap { public static void main(String[] arg){ List list = new ArrayList(); list.add("1"); Map params = new HashMap(); params.put("hao", list); list.add("haowenlong"); List原创 2013-02-24 16:18:11 · 235 阅读 · 0 评论 -
大数据类型相加
10位数字相加,循环1万次,并将相加结果放在集合中 String s = "8000000000"; BigDecimal b1 = new BigDecimal(s); BigDecimal b2 = new BigDecimal("1"); List list = new ArrayList(); for(int i = 0;i B原创 2013-02-24 18:25:59 · 330 阅读 · 0 评论 -
Java时间日期格式转换
import java.text.*; import java.util.Calendar; public class VeDate { public static Date getNowDate() { Date currentTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat原创 2013-02-24 18:28:41 · 488 阅读 · 0 评论 -
JAVA数字大写金额转换
public class MoneyUtil { private static final String[] NUMBERS = { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" }; private static final String[] IUNIT = { "元", "拾", "佰", "仟"转载 2013-02-24 18:31:04 · 876 阅读 · 0 评论 -
收货地址,按照中文就行排序
YTOMail对象,对象里面有一个属性,是省市区详细地址合在一起,FullAddress。 1.排序工具类 public class ChinsesCharComp implements Comparator { /** * YTOMail 按照中文地址进行排序(拼音字母排序) * */ @Override原创 2013-03-01 10:57:21 · 1291 阅读 · 0 评论