commons-lang3
liukaihandsome
这个作者很懒,什么都没留下…
展开
-
commons之RandomStringUtils
[code="java"]import java.util.Random;import org.apache.commons.lang3.RandomStringUtils;public class RandomStringUtilsDemo { private static final Random RANDOM = new Random(); pri...原创 2010-12-03 09:08:45 · 243 阅读 · 0 评论 -
commons之SystemUtils
[code="java"]import org.apache.commons.lang3.SystemUtils;public class SystemUtilsDemo { /** * @param args */ public static void main(String[] args) { /* * awt.toolkit 系统属性...原创 2010-12-03 10:12:26 · 300 阅读 · 0 评论 -
commons之ArrayUtils
[code="java"]import org.apache.commons.lang3.ArrayUtils;public class ArrayUtilsDemo { private static final char[] chars = { 'a', 'b', '1', '2', 'c', 'd', 'e', 'f', 'a' }; private stati...原创 2010-12-03 16:19:58 · 106 阅读 · 0 评论 -
commons之BooleanUtils
[code="java"]import org.apache.commons.lang3.BooleanUtils;public class BooleanUtilsDemo { private static final String n = null; /** * @param args */ public static void main(St...原创 2010-12-06 10:19:57 · 603 阅读 · 0 评论 -
commons之CharEncoding
[code="java"]import org.apache.commons.lang3.CharEncoding;public class CharEncodingDemo { /** * @param args */ public static void main(String[] args) { System.out.println(Char...原创 2010-12-06 10:30:18 · 396 阅读 · 0 评论 -
commons之CharRange
[code="java"]import org.apache.commons.lang3.CharRange;public class CharRangeDemo { /** * @param args */ public static void main(String[] args) { /* * 构造一个CharRange 覆盖一个单例...原创 2010-12-06 10:55:24 · 141 阅读 · 0 评论 -
commons之CharSequenceUtils
[code="java"] import org.apache.commons.lang3.CharSequenceUtils;public class CharSequenceUtilsDemo { private static final CharSequence cs = "hello"; private static final CharSequence n =...原创 2010-12-06 11:09:48 · 628 阅读 · 0 评论 -
commons之CharSet
[code="java"] import org.apache.commons.lang3.CharSet;public class CharSetDemo { private static final String[] s = new String[] {"d","S","s","S","1","%"}; /** * @param a原创 2010-12-06 11:26:46 · 100 阅读 · 0 评论 -
commons之CharSetUtils
[code="java"]package com.likai;import org.apache.commons.lang3.CharSetUtils;public class CharSetUtilsDemo { private static final String s = "Hello word !"; private static final String[]...原创 2010-12-06 11:47:25 · 170 阅读 · 0 评论