public static final class MultiSimQueueNotificationProcessor.Notification<J extends SimJob,Q extends SimQueue> extends Object
SimQueue, consisting of sub-notifications.| Modifier | Constructor and Description |
|---|---|
protected |
Notification(double time,
Q queue,
String queueAnnotation,
List<Map<SimEntitySimpleEventType.Member,SimJQEvent<J,Q>>> subNotifications)
Creates the (atomic) notification.
|
| Modifier and Type | Method and Description |
|---|---|
Q |
getQueue()
Gets the
SimQueue to which the (atomic) notification applies. |
List<Map<SimEntitySimpleEventType.Member,SimJQEvent<J,Q>>> |
getSubNotifications()
Gets the sub-notifications of which this (atomic) notification consists.
|
double |
getTime()
Gets the time of the (atomic) notification.
|
String |
toString() |
protected Notification(double time,
Q queue,
String queueAnnotation,
List<Map<SimEntitySimpleEventType.Member,SimJQEvent<J,Q>>> subNotifications)
time - The time of the (atomic) notification (immutable).queue - The SimQueue to which the (atomic) notification applies (non-null and immutable).queueAnnotation - An optional string annotation used in reporting, see toString().subNotifications - The sub-notifications of which this (atomic) notification consists (non-null).public final double getTime()
public final Q getQueue()
SimQueue to which the (atomic) notification applies.SimQueue to which the (atomic) notification applies.public final List<Map<SimEntitySimpleEventType.Member,SimJQEvent<J,Q>>> getSubNotifications()
Copyright © 2018. All rights reserved.