com.starteam.util
Class WeakReference

java.lang.Object
  extended by com.starteam.util.WeakReference

public class WeakReference
extends java.lang.Object

This class wraps a java.lang.ref.WeakReference

See Also:
WeakReference

Constructor Summary
WeakReference(java.lang.Object referent)
          Create a weak reference wrapping the referent
 
Method Summary
 java.lang.Object get()
          return the wrapped Referent Object, or null if it has already been garbage collected
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakReference

public WeakReference(java.lang.Object referent)
Create a weak reference wrapping the referent

Parameters:
referent - Object the object contained within the weak reference
Method Detail

get

public java.lang.Object get()
return the wrapped Referent Object, or null if it has already been garbage collected

Returns:
Object the wrapped Referent Object, or null if it has already been garbage collected


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.