Class ExtendedDataTypeFloat<U extends Unit<U>,​T extends AbstractFloatScalar<U,​T>,​O extends AbstractFloatVector<U,​T,​O>,​G extends GtuDataInterface>

    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedDataTypeFloat​(java.lang.String id, java.lang.Class<T> type)
      Constructor setting the id.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract O convert​(float[] storage)
      Convert float array to typed array.
      O convert​(float[] storage, int size)
      Convert storage type to output type.
      protected abstract T convertValue​(float value)
      Convert float to typed value.
      java.lang.String formatValue​(java.lang.String format, T value)
      Formats the value into a string.
      T getOutputValue​(O output, int i)
      Returns a specific output value.
      T getStorageValue​(float[] storage, int i)
      Returns a specific storage value.
      float[] initializeStorage()
      Returns an initial storage object.
      float[] setValue​(float[] storage, int i, T value)
      Returns an updated list/array/vector of the storage type, including a new value at given index.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtendedDataTypeFloat

        public ExtendedDataTypeFloat​(java.lang.String id,
                                     java.lang.Class<T> type)
        Constructor setting the id.
        Parameters:
        id - String; id
        type - Class<T>; type class