1. Home
  2. Java
  3. java.lang.ref
  4. Java java.lang.ref SoftReference
    • Class List
    • Java PhantomReference
    • Java Reference
    • Java ReferenceQueue
    • Java SoftReference
    • Java WeakReference

Java java.lang.ref SoftReference

PreviousNext

By API

The following index lists the tutorials for SoftReference by API.

Constructors

  • Java SoftReference SoftReference(T referent)
  • Java SoftReference SoftReference(T referent, ReferenceQueue<? super T> q)

Methods

  • Java SoftReference clear()
  • Java SoftReference get()
  • Java SoftReference tutorial with examples

By Examples

The following index lists the tutorials for SoftReference by example titles.

  • Java SoftReference Clear the cache.
  • Java SoftReference Get a string from the cache, and if no such string has been found, create a new one with only this content.
  • Java SoftReference Get the string from the cache if possible.
  • Java SoftReference cache(String s)
  • Java SoftReference clearCache()
  • Java SoftReference clearThreadLocal()
  • Java SoftReference fromCacheOrNew(String s)
  • Java SoftReference initDecoder(Charset charset, ThreadLocal<Reference<CharsetDecoder>> localDecoder)
PreviousNext

Related

  • Java ReferenceQueue tutorial with examples
  • Java ReferenceQueue ReferenceQueue()
  • Java ReferenceQueue remove()
  • Java java.lang.ref SoftReference
  • Java SoftReference cache(String s)
  • Java SoftReference Clear the cache.
  • Java SoftReference clearCache()

demo2s.com |  Email: | Demo Source and Support. All rights reserved.