Class EventListPriorityQueue<T extends Number & Comparable<T>>

java.lang.Object
nl.tudelft.simulation.dsol.eventlists.EventListPriorityQueue<T>
Type Parameters:
T - the type of simulation time, e.g. SimTimeCalendarLong or Double or DoubleUnit.
All Implemented Interfaces:
Serializable, Iterable<SimEventInterface<T>>, EventListInterface<T>

public class EventListPriorityQueue<T extends Number & Comparable<T>> extends Object implements EventListInterface<T>
A RedBlackTree implementation of the eventlistInterface. This implementation is based on Java's TreeSet.

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

Since:
1.5
Author:
Peter Jacobs
See Also:
  • Constructor Details

    • EventListPriorityQueue

      public EventListPriorityQueue()
      Constructs a new RedBlackTree.
  • Method Details