Java Type VS Hibernate Type
Java Class Attribute Type Hibernate Type Possible SQL Type-Vendor Specific
Integer, int, long short integer, long, short Appropriate SQL type
char character char
java.math.BigDecimal big_decimal NUMERIC, NUMBER
float, double float, double float, double
java.lang.Boolean, boolean boolean, yes_no, boolean, int
true_false
java.lang.string string &
Ïà¹ØÎĵµ£º
boolean java.lang.Object.equals(Object obj)
Indicates whether some other
object is "equal to" this one.
The equals method implements an
equivalence relation on non-null object references:
It is reflexive: for
any non-null reference value x, x.equals(x) should return true.
It ......
package com.huawei.globe;
import java.util.zip.*;
import java.io.*;
public class Compress {
public Compress() {
}
// ѹËõĿ¼ÏµÄÎļþ
public void compress(String zipFileName, String inputFile) throws Exception {
compress(zipFileName, new File(inputFile));
......
Ò» JSmooth
1.³öÆ·
Jsmooth,Sourceforge.net
2. ÀàÐÍ
free
3. ÏÂÔØ
http://jsmooth.sourceforge.net/download.php
4. ²½Öè
a)ÀûÓÃEclipse½«ËùÐèÒªµÄÖ÷Àà´ò³É¿É¶ÀÁ¢ÔËÐеÄjar°ü£¬×¢ÒâÌí¼ÓmanifestÊôÐÔºÍMainClass¡£
b)н¨Ò»¸öJsmooth¹¤³Ì
c) ÔÚsketlonÖÐÑ¡Ôñ“Console“ »òÕß “Windowe ......
// ×¢²áÓ¦ÓóÌÐòÈ«¾Ö¼üÅÌʼþ, ËùÓеļüÅÌʼþ¶¼»á±»´Ëʼþ¼àÌýÆ÷´¦Àí.
Toolkit tk = Toolkit.getDefaultToolkit();
tk.addAWTEventListener(new MyAWTEventListener(), AWTEvent.KEY_EVENT_MASK);
class MyAWTEventListener implements AWTEventListener {
private boolean controlPressed = fal ......
JavaÐéÄâ»úµÄÆðÔ´Óë¹¹Ôì
µ±ÎÒÃÇ˵µ½“Java”Õâ¸ö´ÊµÄʱºò£¬Ö¸µÄÊÇËĸöÏ໥¹ØÁªµÄ¸ÅÄJavaÓïÑÔ¡¢Java API¡¢Java ClassÎļþ¸ñʽ¡¢JavaÐéÄâ»ú¡£Õû¸öJavaÌåϵÊÇ»ùÓÚJava ÐéÄâ»ú¹¹ÔìµÄ£¬ÕýÒòΪÈç´Ë£¬²ÅÄÜʵÏÖJavaµÄ°²È«ÐÔºÍÍøÂçÒÆ¶¯ÐÔ¡£Java²¢·ÇÊǵÚÒ»¸ö²ÉÓÓÐéÄâ»ú”¸ÅÄîµÄÌåϵ£¬µ«È´ÊǵÚÒ»¸öµÃµ½¹ã·ºÔ ......