原创 設計模式_備忘錄模式
Mememento Pattern Without violating encapsulation,capture and externalize an object's internal state so that the o
原创 RTL support api level < 15
(RTL) Right to Left support 4.2 above. But I need support API 15, platform is 4.0. Platform Version API Level VER
原创 BUG Conclusion
after the promotion function, I spend about two days to fix bugs. there are some problem I've got. 1.trust origina
原创 設計模式_橋樑模式
Bridge Pattern Decouple an abstraction from its implementation so that the two can vary independently.(將抽象和實現解耦,使得
原创 Multiple strings.xml files cause order and incomplete problems in android
there is a boring task, boss let me check multiple strings.xml files to find the differences compare to res/values/str
原创 設計模式_狀態模式
State Pattern Allow an object to alter its behavior when its internal state changes.The object will appear to chang
原创 設計模式_適配器模式
Adapter Pattern Converl the interface of a class into another interface clients expect.Adapter lets classes work t
原创 設計模式_命令模式
定義 Encapsulate a request as an object ,thereby letting you parameterize clients with different requests,queue or lo
原创 設計模式_觀察者模式
Observer Pattern Define a ont-to-many dependency between objects so that when one object changes state,all its d
原创 設計模式_享元模式
Flyweight Pattern use sharing to support large unmbers of fine-grained objects efficiently(使用共享對象可有效地支持大量的細粒度的對象)
原创 設計模式_裝飾模式
Decorator Pattern Attach additional responsibilities to an object dynamically keeping the same interface. Decorat
原创 設計模式_訪問者模式
Visitor Pattern Repressent an operation to be performed on the elements of an object structure.Visitor lets you d
原创 window server2012 + IIS8.0 + tomcat 集成環境搭建
需求: 搭建web服務器, 生成二維碼下載app, 綁定域名, 與tomcat集成。 系統環境: OS: windows server 2012 standard X64 2G 1.安裝IIS8.0 Web服務器 windows7用
原创 TCP/IP阻塞控制機制
慢啓動SS,加性增AIMD算法 當出現丟包時,減少擁塞窗口CWin長度降低發送速率,在一般情況下謹慎增加CWin長度。 閾值:幫助TCP判斷何時進入阻塞避免區域,表示從慢啓動階段進入阻塞階段的閾值。 void slow_start(voi
原创 設計模式_中介者模式
定義 Define an object that encapsulates how a set of objects interact. Mediator promptes loose coupling by keeping obj