Ableverse™
Platform 6.0

av.ref
Interface Reference<T>

All Known Implementing Classes:
PhantomReference, SoftReference, StrongReference, StrongSoftReference, StrongWeakReference, WeakReference

public interface Reference<T>

This interface is provided to form a universal way to leverage all kinds of references, including strong references, which is ommited from java.lang.ref package. As extending from Reference is not suggested.

Because reference objects are implemented in close cooperation with the garbage collector, this class may not be subclassed directly. - from javadoc of Reference.

So this seperate interface is defined here.

Author:
Compl

Method Summary
 void clear()
           
 T get()
           
 

Method Detail

get

T get()

clear

void clear()

Ableverse™
Platform 6.0

Copyright© 2006 Ableverse Platform. All rights reserved.