Serialized Form
-
Package org.djutils.event
-
Class org.djutils.event.Event extends Object implements Serializable
- serialVersionUID:
- 20140826L
-
Serialized Fields
-
content
Serializable content
The content of the event. -
sourceId
Serializable sourceId
The source id of an event. -
type
EventType type
The type of the event.
-
-
Class org.djutils.event.EventListenerMap extends Object implements Serializable
- serialVersionUID:
- 20140830L
-
Serialization Methods
-
readObject
Read an EventListenerMap from a stream and use it to replace the internal map.- Throws:
IOException
- on IOExceptionClassNotFoundException
- on ClassNotFoundException
-
writeObject
Write the EventListenerMap to a stream. RemoteEventListeners are not written, as they are fully dependent on the state of the network, which might not be the same when the EventListenerMap is read back. Weak references and strong references are both written to the stream.- Throws:
IOException
- on IOException
-
-
Serialized Fields
-
map
Map<EventType,List<Reference<EventListenerInterface>>> map
The hasMap we map on.
-
-
Class org.djutils.event.EventProducer extends Object implements Serializable
- serialVersionUID:
- 20140830L
-
Serialized Fields
-
eventProducerImpl
EventProducerImpl eventProducerImpl
The EventProducer helper class with the actual implementation to avoid code duplication.
-
-
Class org.djutils.event.EventProducerImpl extends Object implements Serializable
- serialVersionUID:
- 20200207L
-
Serialized Fields
-
embeddingEventProducer
EventProducerInterface embeddingEventProducer
The embedding event producer that uses this helper class. -
listeners
EventListenerMap listeners
The collection of interested listeners.
-
-
Class org.djutils.event.EventType extends Object implements Serializable
- serialVersionUID:
- 20140830L
-
Class org.djutils.event.TimedEvent extends Event implements Serializable
- serialVersionUID:
- 20140826L
-
Serialized Fields
-
timeStamp
T extends Comparable<T> & Serializable timeStamp
Time stamp of this TimedEvent.
-
-
-
Package org.djutils.event.ref
-
Class org.djutils.event.ref.Reference extends Object implements Serializable
- serialVersionUID:
- 20140830L
-
Class org.djutils.event.ref.StrongReference extends Reference<T extends Serializable> implements Serializable
- serialVersionUID:
- 20191230L
-
Serialization Methods
-
readObject
reads a serializable method from stream.- Throws:
IOException
- on IOExceptionClassNotFoundException
- on ClassNotFoundException
-
writeObject
writes a serializable referent to stream.- Throws:
IOException
- on IOException
-
-
Class org.djutils.event.ref.WeakReference extends Reference<T extends Serializable> implements Serializable
- serialVersionUID:
- 20140830L
-
Serialization Methods
-
readObject
Read a serializable method from a stream.- Throws:
IOException
- on IOExceptionClassNotFoundException
- on ClassNotFoundException
-
writeObject
Write a serializable method to a stream.- Throws:
IOException
- on IOException
-
-
-
Package org.djutils.event.remote
-
Class org.djutils.event.remote.RemoteEventListener extends RMIObject implements Serializable
- serialVersionUID:
- 20191230L
-
Class org.djutils.event.remote.RemoteEventProducer extends RMIObject implements Serializable
- serialVersionUID:
- 20140830L
-
Serialized Fields
-
eventProducerImpl
EventProducerImpl eventProducerImpl
The EventProducer helper class with the actual implementation to avoid code duplication.
-
-
-
Package org.djutils.event.util
-
Class org.djutils.event.util.EventProducingCollection extends EventProducer implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
parent
Collection<T> parent
the parent collection. -
sourceIdProvider
IdProvider sourceIdProvider
the function that produces the id by which the EventProducer can be identified.
-
-
Class org.djutils.event.util.EventProducingIterator extends EventProducer implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
parent
Iterator<T> parent
our parent iterator. -
sourceIdProvider
IdProvider sourceIdProvider
the function that produces the id by which the EventProducer can be identified.
-
-
Class org.djutils.event.util.EventProducingList extends EventProducer implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
parent
List<E> parent
the parent list. -
sourceIdProvider
IdProvider sourceIdProvider
the function that produces the id by which the EventProducer can be identified.
-
-
Class org.djutils.event.util.EventProducingListIterator extends EventProducingIterator<T> implements Serializable
- serialVersionUID:
- 20191230L
-
Class org.djutils.event.util.EventProducingMap extends EventProducer implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
parent
Map<K,V> parent
the parent map. -
sourceIdProvider
IdProvider sourceIdProvider
the function that produces the id by which the EventProducer can be identified.
-
-
Class org.djutils.event.util.EventProducingSet extends EventProducer implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
parent
Set<E> parent
the parent set. -
sourceIdProvider
IdProvider sourceIdProvider
the function that produces the id by which the EventProducer can be identified.
-
-
-
Package org.djutils.immutablecollections
-
Class org.djutils.immutablecollections.ImmutableAbstractCollection extends Object implements Serializable
- serialVersionUID:
- 20180908L
-
Serialized Fields
-
copyOrWrap
Immutable copyOrWrap
COPY stores a safe, internal copy of the collection; WRAP stores a pointer to the original collection.
-
-
Class org.djutils.immutablecollections.ImmutableAbstractList extends ImmutableAbstractCollection<E> implements Serializable
- serialVersionUID:
- 20160507L
-
Class org.djutils.immutablecollections.ImmutableAbstractMap extends Object implements Serializable
- serialVersionUID:
- 20160507L
-
Serialized Fields
-
Class org.djutils.immutablecollections.ImmutableAbstractSet extends ImmutableAbstractCollection<E> implements Serializable
- serialVersionUID:
- 20160507L
-
Class org.djutils.immutablecollections.ImmutableArrayList extends ImmutableAbstractList<E> implements Serializable
- serialVersionUID:
- 20160507L
-
Class org.djutils.immutablecollections.ImmutableHashMap extends ImmutableAbstractMap<K,V> implements Serializable
- serialVersionUID:
- 20160507L
-
Serialized Fields
-
cachedEntrySet
ImmutableSet<ImmutableMap.ImmutableEntry<K,V>> cachedEntrySet
the cached entrySet. -
cachedKeySet
ImmutableSet<K> cachedKeySet
the cached keySet.
-
-
Class org.djutils.immutablecollections.ImmutableHashSet extends ImmutableAbstractSet<E> implements Serializable
- serialVersionUID:
- 20160507L
-
Class org.djutils.immutablecollections.ImmutableLinkedHashMap extends ImmutableAbstractMap<K,V> implements Serializable
- serialVersionUID:
- 20160507L
-
Serialized Fields
-
cachedEntrySet
ImmutableSet<ImmutableMap.ImmutableEntry<K,V>> cachedEntrySet
the cached entrySet. -
cachedKeySet
ImmutableSet<K> cachedKeySet
the cached keySet.
-
-
Class org.djutils.immutablecollections.ImmutableLinkedHashSet extends ImmutableAbstractSet<E> implements Serializable
- serialVersionUID:
- 20160507L
-
Class org.djutils.immutablecollections.ImmutableTreeMap extends ImmutableAbstractMap<K,V> implements Serializable
- serialVersionUID:
- 20160507L
-
Serialized Fields
-
cachedEntrySet
ImmutableSortedSet<ImmutableMap.ImmutableEntry<K,V>> cachedEntrySet
the cached entrySet. -
cachedKeySet
ImmutableSortedSet<K> cachedKeySet
the cached keySet.
-
-
Class org.djutils.immutablecollections.ImmutableTreeSet extends ImmutableAbstractSet<E> implements Serializable
- serialVersionUID:
- 20160507L
-
Class org.djutils.immutablecollections.ImmutableVector extends ImmutableAbstractList<E> implements Serializable
- serialVersionUID:
- 20160507L
-
-
Package org.djutils.reflection
-
Class org.djutils.reflection.FieldSignature extends Object implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
value
String value
the value of the field descriptor.
-
-
Class org.djutils.reflection.MethodSignature extends Object implements Serializable
- serialVersionUID:
- 20191230L
-
Serialized Fields
-
value
String value
the value of the methodDescriptor.
-
-
-
Package org.djutils.rmi
-
Class org.djutils.rmi.RMIObject extends UnicastRemoteObject implements Serializable
- serialVersionUID:
- 20200111L
-
Serialized Fields
-
registry
Registry registry
pointer to the registry in which the object has been registered to look up other objects.
-
-