Time of Update: 2016-10-28
標籤:try 項目 imp cat driver nal cte str cal import java.sql.Connection;import
Time of Update: 2016-10-29
標籤:region exce class [] try 匯出 system imp string import java.io.FileOutputStream;import
Time of Update: 2016-10-28
標籤:man class png new hello int 使用 etc equal 一.public class StringPool
Time of Update: 2016-10-28
標籤:str 依次 core switch res invalid 運算式 ade 代碼 一般情況下,代碼的執行按照從上到下的順序,然而通過加入一些判斷,迴圈和跳躍陳述式,你可以有條件地執行特定
Time of Update: 2016-10-28
標籤:tor 讀數 面向 字元流 線程 buffer 概述 標準 sel Channel 和 Buffer標準的Java IO編程介面是面向位元組流和字元流的而 NIO
Time of Update: 2016-10-28
標籤:寫法 知識點 exce 聲明 引用 new 記憶體位址 判斷字串 不能 java中 null和“”的區別詳解null和""的區別問題一:null和""的區別String
Time of Update: 2016-10-28
標籤:name 資料 聲明 程式 執行 多個 目的 write pre 鎖所提供的最重要的改進之一就是 ReadWriteLock 介面和它的實作類別
Time of Update: 2016-10-29
標籤:驗證碼 private public 伺服器 random 首先,為什麼需要驗證碼? 簡單說,一是不使得註冊過度,造成伺服器因為容量問題崩潰;二是為了防止暴力破解。使用的工具:MyEclipse源碼:public class Demo2 {@Testpublic void
Time of Update: 2016-10-29
標籤:[] i++ 區分大小寫 indexof nbsp substring start case 編碼 1. equals , 比較字串內容,區分大小寫String s1 =
Time of Update: 2016-10-27
標籤:bre final 成員變數 否則 9.png 換行 複數 har 釋放 1. 縮排採用4個空格的縮排方式2. tab不採用"hard" tab。
Time of Update: 2016-10-28
標籤:心得體會 art targe 原子操作 選擇 deque tom details .net 準備花點時間看看 java.util.concurrent這個包的原始碼,來提高自己對
Time of Update: 2016-10-28
標籤:更新 組件 title 改善 end 解釋 接受 tool form 閱讀目錄建議47:在equals中使用getClass進行類型判斷建議48:覆寫equals方法必須覆寫hashCod
Time of Update: 2016-10-27
標籤:format 4.0 bean tostring sys 其他 ... empty root 1、fastjson引入包<dependency> <groupId&
Time of Update: 2016-10-29
spring aop對service層日誌和異常的處理,springaop1.aop是什麼 AOP是Aspect Oriented Programming的縮寫,意思是面向切面編程,與OOP(Object Oriented Programming)物件導向編程對等,都是一種編程思想。 從OOP角度分析,我們關注業務的處理邏輯,是屬於縱向的行為,從AOP角度分析,我們關注對象行為發生時的問題,是屬於橫向的行為。2.AOP 作用: 2.1 監控函數的調用 2.2
Time of Update: 2016-10-29
Java 序列化與還原序列化,Java序列化序列化1、什麼是序列化?為什麼要序列化? Java
Time of Update: 2016-10-29
【LeetCode】10. Regular Expression Matching,leetcodematching題目: Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding
Time of Update: 2016-10-29
深入理解Java虛擬機器--個人總結,深入理解虛擬機器JVM記憶體地區我們在編寫程式時,經常會遇到OOM(out of
Time of Update: 2016-10-27
【Java每日一題】20161027,java20161027package Oct2016;public class Ques1027 { public static void main(String[] args) { System.out.println(1%2==1?"奇數":"偶數"); System.out.println(2%2==1?"奇數":"偶數"); System.out.println(0%2==1?"奇數":"偶數"); System.
Time of Update: 2016-10-27
【Unicode】字元編碼表資訊,unicode字元編碼 UTF-8有點類似於Haffman編碼,它將Unicode編碼為:0x00-0x7F的字元,用單個位元組來表示;0x80-0x7FF的字元用兩個位元組表示;0x800-0xFFFF的字元用3位元組表示; ①數位unicode範圍是:0x0030~0x0039②英文字母的unicode範圍是:大寫A到Z(屬於拉丁字母):0x0041~0x005A 小寫a到z(屬於拉丁字母):0x0061~0x007A③漢字的u
Time of Update: 2016-10-26
Hibernate(六)__對象的三種狀態,hibernate三種瞬時(transient):資料庫中沒有資料與之對應,超過範圍會被JVM記憶體回收行程回收,一般是new出來且與session沒有關聯的對象。持久(persistent):資料庫中有資料與之對應,當前與session有關聯,並且相關聯的session沒有關閉,事務沒有提交; 持久對象狀態發生改變,在事務提交時會影響到資料庫(hibernate能檢測到)。 (當對象save後,會將資料持久化,這時obj.