Package org.djutils.event.collection
package org.djutils.event.collection
Provides a subscription-based extension to Java's collection library. The classes in this package provide subscription
mechanisms for entry changes in collections, lists, etc.
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
-
ClassDescriptionThe Event producing collection provides a set to which one can subscribe interest in entry changes.The EventProducingIterator provides an iterator embedding the Iterator, which fires an event when an object has been removed.The Event producing list provides a list to which one can subscribe interest in entry changes.EventProducingListIterator provides an iterator embedding the ListIterator, which fires an event when an object has been removed.EventProducingMap<K,
V> The Event producing map provides a map to which one can subscribe interest in entry changes.The Event producing set provides a set to which one can subscribe interest in entry changes.