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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Field Summary

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

    Modifier and Type
    Method
    Description
    convert(double[][] filteredData)
    Convert the filtered data to an output format.
  • Field Details

    • SI

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

    • convert

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