Time of Update: 2017-02-22
標籤:ext toc pat select substr ber color blog protocol 1. 注意問題 uri的格式: sftp://zhangsan:[email&
Time of Update: 2017-02-23
標籤:methods new sim eth catch contains setname sys end public static void main(String[] args) {
Time of Update: 2017-02-21
標籤:support ace 驗證 nbsp 字串 str acea utils bsp public class StrUtils { public static final
Time of Update: 2017-02-23
標籤:出棧 演算法 問題 alt 成功 字元 訪問 過濾 bsp 棧和隊列棧(後進先出)棧,只允許訪問一個資料項目:即最後插入的資料項目.棧可以用來檢查括弧的匹配問題和解析數學運算式
Time of Update: 2017-02-21
標籤:https client xmlns oct equals res href copy hashmap 統計工作需要在所有資源之前都執行,那麼就可以放到Filter中了。我們這個過濾器不打
Time of Update: 2017-02-22
標籤:實現 使用 特性 複用 目的 自己 代碼 mil think 在《Think in
Time of Update: 2017-02-21
標籤:... print compare 模式 hashcode table 返回 轉化 oat Java種的Integer是int的封裝類型 1. Integer
Time of Update: 2017-02-21
標籤:自動 多少 迴圈 min 壓縮 pac 對象 自適應 空間 1.常用的演算法: a.引用計數法:為每一個對象配置一個整形計數器,當有一個引用時,計數器+1,引用失效時,計數器-1.計
Time of Update: 2017-02-19
標籤:資訊 通過 錯誤頁面 ted web 規範 service -- stack 本篇不打算冗長介紹各種異常,唯寫出通用的應該遵循的異常處理規範(個人理解,如有錯誤歡迎指正) 1.
Time of Update: 2017-02-19
標籤:使用 對象引用 設計模式 開放 介面 過程 定義 代理模式 核心 一、原廠模式的分類
Time of Update: 2017-02-19
標籤:system.in logs out scanner highlight log amp can exti 已知雞和兔的總數量為n,總腿數為m。輸入n和m,依次輸出雞的數目和兔的數目。如果
Time of Update: 2017-02-19
標籤:turn pre 矩陣相乘 public ase bsp [] nbsp base F(n)=F(n-1)+F(n-2)1.迭代實現,O(2的N次方) 1 /** 2 *
Time of Update: 2017-02-19
標籤:logs har end length super dex 同步鎖 nbsp 刪除 String,StringBufffer,StringBuilder的區別1.可變不可變方面 Strin
Time of Update: 2017-02-20
標籤:print return class oat 構造方法 構造 str bsp color /*功能:Java"封裝"的典型例子*/public class
Time of Update: 2017-02-24
我的Java之旅 第二課 Eclipse使用,java之旅eclipse1、項目引用的jar包管理 在Project Explorer中找到你要添加jar包的項目,右鍵項目名,點擊Properties. 在彈出的表單中,點擊Resource中的JAVA Build
Time of Update: 2017-02-24
代理模式-積木模式,代理模式積木 代理模式-積木模式 代理模式在實際開發中的確非常常見和常用,表面上代理模式是產生出一個代理類,作為訪問實際實作類別的代理,控制了外界對實際代理類的訪問,在此基礎上增加一些增強性的功能。實際上,還將實際實現作為一個粒度,將增強部分功能分離解耦。這裡記錄一下實現的一些代碼:靜態代理:public interface Subject { void toilet();}public class RealSubject implements Subject{
Time of Update: 2017-02-23
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log
Time of Update: 2017-02-23
Redis伺服器搭建,redis搭建 下載並解壓redis,然後進入redis所在目錄 編譯安裝 make && make install 啟動redis 服務 (加上&表示在後台運行) ./redis-server & &
Time of Update: 2017-02-20
sping整合hibernate之二:dao層開發,spinghibernate 在上一篇日誌中將hibernate的會話工廠sessionFactory注入到了spring的容器中,但這樣還不夠,因為hibernate的增刪改查是要使用事務機制的,
Time of Update: 2017-02-20
Java中顯示圖片的方法,Java顯示圖片方法最近在做一個swing小項目,其中需要把儲存在硬碟中的圖片檔案顯示出來,總結了如下方法:1.Graphics g = getGraphics();String name = "E:/CapabilityModel/out.gif";Image img = Toolkit.getDefaultToolkit().getImage(name);g.drawImage(img, 538, 408,585,305,