Package org.djutils.event.ref

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-2020 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 Summary 
    Class Description
    Reference<T extends Serializable>
    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.
    StrongReference<T extends Serializable>
    A StrongReference class represents a normal pointer relation to a reference.
    WeakReference<T extends Serializable>
    A WeakReference.
  • Enum Summary 
    Enum Description
    ReferenceType
    ReferenceType indicates whether a reference is strong or weak.