Package org.djutils.event.reference


package org.djutils.event.reference
Provides classes and interfaces for easy access to Java's reference classes. The reason for the creation of these classes is to have one standardized Reference interface which fulfills indirect access to an object.

Copyright (c) 2002-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html. This class was originally part of the DSOL project, see https://simulation.tudelft.nl/dsol/manual.

Author:
Peter Jacobs , Alexander Verbraeck
  • Class
    Description
    The Reference abstract class defines an indirect pointer to an object that can be serialized, in contrast with the Java Reference class, which is not serializable.
    ReferenceType indicates whether a reference is strong or weak.
    A StrongReference class represents a normal pointer relation to a reference.
    A WeakReference.