Interface Converter<K>

  • Type Parameters:
    K - grid output format

    public interface Converter<K>
    Converter for use in Quantity to convert internal filtered data to an output type.

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

    Version:
    $Revision$, $LastChangedDate$, by $Author$, initial version 24 okt. 2018
    Author:
    Wouter Schakel
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Converter<double[][]> SI
      Standard converter that returns the internal SI data directly.
    • Field Detail

      • SI

        static final Converter<double[][]> SI
        Standard converter that returns the internal SI data directly.
    • Method Detail

      • convert

        K convert​(double[][] filteredData)
        Convert the filtered data to an output format.
        Parameters:
        filteredData - double[][]; filtered data
        Returns:
        K; data in output format