
java技术
zhanghb2009
这个作者很懒,什么都没留下…
展开
-
Java核心API需要掌握的程度
Java的核心API是非常庞大的,这给开发者来说带来了很大的方便,经常人有评论,java让程序员变傻。但是一些内容我认为是必须掌握的,否则不可以熟练运用java,也不会使用就很难办了。1、java.lang包下的80%以上的类的功能的灵活运用。2、java.util包下的80%以上的类的灵活运用,特别是集合类体系、正规表达式、时间、属性、和Timer.3、java.io包下的60%原创 2009-08-29 01:03:00 · 982 阅读 · 0 评论 -
Eclipse反编译插件: Jodeclipse与JadClipse
Eclipse反编译插件: Jodeclipse与JadClipse Jodeclipse 是Jode的Eclipse插件,JadClipse是Jad的Eclipse插件,它们都是非常好的反编译插件。 Jode Eclipse Plugin 1.0.5 for Eclipse version 3.1 / 3.2 安装方法 (1)从如下地址下载: http://sour原创 2009-08-29 05:24:00 · 737 阅读 · 0 评论 -
排序算法
冒泡,插入,选择,快速,希尔,归并等排序 package com.zhb.corejava.util;public class SortUtil { public static void main(String[] args) { int[] array = new int[] { 3, 4, 1, 2, 8, 7, 9, 6, 0 }; bubbleSort(arra原创 2009-08-29 17:57:00 · 415 阅读 · 0 评论 -
java自定义堆栈
package com.zhb.corejava.util;public class Stack { private E[] elementData; private int top; private int count; @SuppressWarnings("unchecked") public Stack(int size) { this.elemen原创 2009-08-29 19:36:00 · 1691 阅读 · 1 评论 -
收集java常用的一些方法
1.判断任意一个整数是否素数/** * 判断任意一个整数是否素数 * * @param n * @return boolean */ public static boolean isPrimes(int n) { for (int i = 2; i <= Math.sqrt(n); i++)原创 2009-08-31 19:58:00 · 458 阅读 · 0 评论 -
java自定义队列
public class Queue { private int front; private int rear; private int count; private int queueSize; private E[] object; public Queue() { this(10); } public Queue(int queueSize) {原创 2009-09-03 16:04:00 · 1695 阅读 · 0 评论 -
将小写人民币转换成大写
将小写人民币转换成大写public class MoneyUtil { public static String toChinese(String str) { /** 大写数字 */ String[] NUMBERS = { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" }; /** 整数部分的单位 */ S原创 2009-09-04 03:02:00 · 678 阅读 · 0 评论 -
人民币工具类
人民币工具类 package com.zhb.corejava.util;/** * 将小写人民币转换成大写 * @author 张何兵 * */public class MoneyUtil { public static String toChinese(String str) { /** 大写数字 */ String[] NUMBERS原创 2009-09-08 09:04:00 · 503 阅读 · 0 评论