All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----utah.npm.core.Lockable | +----utah.npm.core.NPMObject | +----utah.npm.core.Refable
Summary |
abstract class Refable extends utah.npm.core.NPMObject { // Constructors 1 public Refable(); // Methods 4 public void destroy(); public void finalize(); public Reference reference(Reference); void s_init(int); }
A package-only abstract class that extends an
NPMObject
to support NPM References.
Adds the public method reference
to the
object's interface.
TODO: should provide package-only methods
for maintaining the Reference
list.
Addtionally, should extend the destroy()
method to clean up the list of outstanding references.
See Also: NPMObject
Cross Reference |
Constructors |
· Refable | Summary | Top |
public Refable()
Methods |
· s_init | Summary | Top |
void s_init(int hashCode)
Special object initialization. This method is only called once per object.
GROAN: This method should be "protected", but then non-NPM subclasses could call it. I want a protected+package access control (e.g, only subclasses in this package can see this method.)
- Overrides:
- s_init in class NPMObject
· reference | Summary | Top |
public Reference reference(Reference ref)
Associate given Reference with this NPM object.
Parameter Description ref The reference to associate with this object.
- Returns:
- Returns the reference passed in.
· destroy | Summary | Top |
public void destroy()
Null out any outstanding references to this object.
- Overrides:
- destroy in class NPMObject
· finalize | Summary | Top |
public void finalize()
Finalize this object (just calls destroy)
- Overrides:
- finalize in class NPMObject
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7