JAVA
Toi
这个作者很懒,什么都没留下…
展开
-
今天对着书搞了下JAVA(哈希表)。。。小有收获O(∩_∩)O~~
import java.lang.Object; import java.util.HashSet; import java.util.*; public class useHashset { public static void main(String[] args) { HashSet hs=new HashSet(); Iterator ib; Scann原创 2012-07-23 23:36:49 · 1125 阅读 · 2 评论 -
JAVA——异常处理
使用JOptionPane 对话框输入( 输入类型为string ) 两个整数,求和 。 使用 Integer.parseInt 将string 变为 int ,输入如果不是整数,产生 NumberFormatException 异常 。 import javax.swing.JOptionPane; public class DealInput { public static原创 2012-08-11 20:57:56 · 490 阅读 · 0 评论 -
DCT JAVA
package myjavacode; /** * DCT - A Java implementation of the Discreet Cosine Transform * * The discreet cosine transform converts spatial information to "frequency" or * spectral information, w转载 2014-04-15 20:30:51 · 2074 阅读 · 0 评论