Interface SerializableObject<T>

  • Type Parameters:
    T - type of object that implements this interface
    All Known Implementing Classes:
    TypedMessage.MinimalSerializableObject

    public interface SerializableObject<T>
    Interface that must be implemented by objects that can be serialized.

    Copyright (c) 2019-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See DJUTILS License.

    Version:
    $Revision$, $LastChangedDate$, by $Author$,
    Author:
    Alexander Verbraeck, Peter Knoppers
    • Method Detail

      • exportAsList

        List<Object> exportAsList()
        Make all elements that need to be serialized available as a list. The size of this list and the types of the elements in it must be consistent. Meaning that the size of the list and content types of the list are always the same.
        Returns:
        List<Object>; list of the elements that need to serialized