public class TransparenteSoftReference<T> extends SoftReference<T>
Modifier and Type | Field and Description |
---|---|
protected int |
hash |
protected String |
toString |
Constructor and Description |
---|
TransparenteSoftReference(T o)
DOCUMENTME Constructor for the TransparenteSoftReference object
|
TransparenteSoftReference(T o,
boolean objectToStringUsed) |
TransparenteSoftReference(T o,
ReferenceQueue<? super T> queue) |
TransparenteSoftReference(T o,
ReferenceQueue<? super T> queue,
boolean objectToStringUsed) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
DOCUMENTME Method
|
int |
hashCode()
DOCUMENTME Method
|
protected void |
init(T o,
boolean objectToStringUsed)
On conserve le hash pour que la Reference puisse encore se faire
passer pour l'objet alors que celui-ci a disparu de la memoire
|
String |
toString() |
get
clear, enqueue, isEnqueued
protected int hash
protected String toString
public TransparenteSoftReference(T o)
o
- DOCUMENTME Description of the Parameterpublic TransparenteSoftReference(T o, ReferenceQueue<? super T> queue)
public TransparenteSoftReference(T o, boolean objectToStringUsed)
public TransparenteSoftReference(T o, ReferenceQueue<? super T> queue, boolean objectToStringUsed)
protected void init(T o, boolean objectToStringUsed)
o
- TODOobjectToStringUsed
- TODOpublic boolean equals(Object o)
public int hashCode()
Copyright © 2004–2020 CodeLutin. All rights reserved.