摘要: With array, we can easily declare and initialize it at the same time:String[] favorites = new String[] {"EJB", "JPA", "Glassfish", "NetBeans"};Or even simpler:String[] favorites = {"EJB", "JPA", "Glas... 阅读全文
posted @ 2010-04-29 17:01 Dikang Gu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2010-04-10 22:56 Dikang Gu 阅读(165) 评论(0) 推荐(0) 编辑
摘要: /** * This class contains the conversions among String, Hex, Bytes and Bits. */public class Conversion { /** * Return the hexadecimal format of a plain text string. * * @param strValue * @return */ pu... 阅读全文
posted @ 2010-04-08 17:49 Dikang Gu 阅读(766) 评论(0) 推荐(0) 编辑