Class ArrayConverter.Integer2D
java.lang.Object
org.tudalgo.algoutils.tutor.general.conversion.AbstractArrayNodeConversion<Integer[]>
org.tudalgo.algoutils.tutor.general.conversion.ArrayConverter.Integer2D
- All Implemented Interfaces:
org.junit.jupiter.params.converter.ArgumentConverter
- Enclosing class:
ArrayConverter
-
Field Summary
Fields inherited from class org.tudalgo.algoutils.tutor.general.conversion.AbstractArrayNodeConversion
baseConverter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.tudalgo.algoutils.tutor.general.conversion.AbstractArrayNodeConversion
convert, getBaseConverter
-
Constructor Details
-
Integer2D
public Integer2D()
-
-
Method Details
-
convert
public Integer[][] 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:AbstractArrayNodeConversionConverts a JSON array into another type.- Specified by:
convertin classAbstractArrayNodeConversion<Integer[]>- Parameters:
arrayNode- the JSON array node to be convertedcontext- context in which the parameter is converted- Returns:
- a converted object
- Throws:
org.junit.jupiter.params.converter.ArgumentConversionException- if the conversion fails
-