Interface IRefCountedField
- All Known Implementing Classes:
FieldManyToOne
,FieldOneToMany
,FieldOneToOne
public interface IRefCountedField
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasReferences(Nd nd, long address)
Returns true if this field knows of any remaining incoming references to this object.
-
Method Details
-
hasReferences
Returns true if this field knows of any remaining incoming references to this object. This is used by the implementation ofFieldManyToOne
to determine whether or not a refcounted object should be deleted after a reference is removed.Implementations should return false if the refcount is 0 or true if the refcount is nonzero.
-