Class ArrayConverter.Float2D

java.lang.Object
org.tudalgo.algoutils.tutor.general.conversion.AbstractArrayNodeConversion<Float[]>
org.tudalgo.algoutils.tutor.general.conversion.ArrayConverter.Float2D
All Implemented Interfaces:
org.junit.jupiter.params.converter.ArgumentConverter
Enclosing class:
ArrayConverter

public static class ArrayConverter.Float2D extends AbstractArrayNodeConversion<Float[]>
  • Constructor Details

    • Float2D

      public Float2D()
  • Method Details

    • convert

      public Float[][] convert(com.fasterxml.jackson.databind.node.ArrayNode arrayNode, org.junit.jupiter.api.extension.ParameterContext context) throws org.junit.jupiter.params.converter.ArgumentConversionException
      Description copied from class: AbstractArrayNodeConversion
      Converts a JSON array into another type.
      Specified by:
      convert in class AbstractArrayNodeConversion<Float[]>
      Parameters:
      arrayNode - the JSON array node to be converted
      context - context in which the parameter is converted
      Returns:
      a converted object
      Throws:
      org.junit.jupiter.params.converter.ArgumentConversionException - if the conversion fails