Handy隨寫

2011年7月29日 星期五

Java/Android SoftReference, WeakReference, PhantomReference

基本上是和Garbage Collection有關的物件引用等級

Class Definition on Android
http://developer.android.com/reference/java/lang/ref/WeakReference.html
http://developer.android.com/reference/java/lang/ref/SoftReference.html
http://developer.android.com/reference/java/lang/ref/PhantomReference.html

Examples on the Web
StrongReference、SoftReference、WeakReference、PhantomReference  <--不用程式碼就解釋得很清楚
对SoftReference、WeakReference和PhantomRefrence的理解
張貼者: HandyChen 於 下午4:01 沒有留言:
標籤: 工作
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

追蹤者

關於我自己

HandyChen
檢視我的完整簡介

熱門文章

  • Try eGalax USB Touch for tslib
    There are three kernel modules support USB eGalax Touch device 1. inbult usbhid module for HID touch device 2. Inbult usbtouchscreen modul...
  • Java/Android SoftReference, WeakReference, PhantomReference
    基本上是和Garbage Collection有關的物件引用等級 Class Definition on Android http://developer.android.com/reference/java/lang/ref/WeakReference.html htt...
  • Feature Detect in OpenCV
    OpenCV v2.3 documentation http://opencv.itseez.com/index.html OpenCV Tutorials in OpenCV v2.3 documentation http://opencv.itseez.com/doc...
  • Windows 7下的SMTP
    被這個問題困擾非常久, 主要是公司用的Notes, 很多Ap都是借用email的方式達成, 因此在Windows 7欠缺SMTP的情況下, 每次遇上需要用到SMTP Protocol, 就只好切換到XP去執行 在安裝hMailServer之後, 啟用SMTP Relayer,...
  • Otsu Thresholding
    沒有比這更清楚的了 http://www.labbookpages.co.uk/software/imgProc/otsuThreshold.html 當然Wiki也要查一下 http://en.wikipedia.org/wiki/Otsu's_method ...
  • [God]Staying On Track
    Charles Stanley(intouch.org) 2012-04-29 GoodTV 在正軌上行走 Staying On Track 1. 默想神的話 Meditating words of god. 2. 順服神, 並將一切結果交託給祂 Obey God...
  • Android NDK in Eclipse on Windows 7
    再精簡一下流程 1. Download NDK for Windows並解開到想放的位置(Ex. C:\Android\android-ndk-r5c) 2. Windows環境要多裝一個Cygwin(Ex. C:\cygwin),下面兩個連結皆可參考 http://che...
  • android.app.Application
    在Study NDK的章節裡,看到sample用到Application,之前沒看過這個東西,基本上, http://developer.android.com/reference/android/app/Application.html 給的定義如下 Base ...
  • Non-maximum suppression
    Non-maximum is one of the stages in Canny edge detection. I collected some theory/implementation as below. http://en.wikipedia.org/wiki...
  • Design Patterns in Android
    閱讀"高煥堂","Google Android 設計招式之美"的心得 此書不是直接給出最終Pattern的樣子,而是描述如何直覺的演變出最終型態(以Android Framework為例), 熟悉這個過程會比較能欣賞高竿的程式代碼, 自...

標籤

  • 工作 (43)
  • 休閒 (6)
  • 聖經 (7)
  • 語言 (10)
  • 數位影像 (1)
  • 職涯 (17)
  • Excel (1)
  • java (1)
  • telnet (1)
  • Tomcat (1)

網誌存檔

  • ►  2013 (6)
    • ►  3月 (4)
    • ►  2月 (2)
  • ►  2012 (18)
    • ►  8月 (3)
    • ►  7月 (2)
    • ►  6月 (7)
    • ►  3月 (1)
    • ►  2月 (1)
    • ►  1月 (4)
  • ▼  2011 (38)
    • ►  12月 (1)
    • ►  11月 (1)
    • ►  10月 (6)
    • ►  9月 (11)
    • ►  8月 (4)
    • ▼  7月 (1)
      • Java/Android SoftReference, WeakReference, Phantom...
    • ►  6月 (5)
    • ►  4月 (4)
    • ►  3月 (3)
    • ►  1月 (2)
  • ►  2010 (14)
    • ►  9月 (1)
    • ►  8月 (9)
    • ►  7月 (3)
    • ►  6月 (1)
  • ►  2009 (6)
    • ►  10月 (1)
    • ►  9月 (5)
簡單主題. 技術提供:Blogger.