Class ArrayUtils
java.lang.Object
org.springframework.data.r2dbc.support.ArrayUtils
Utilities for array interaction.
- Author:
- Mark Paluch
- 
Method SummaryModifier and TypeMethodDescriptionstatic Class<?> getArrayClass(Class<?> componentType, int dimensions) Create a new empty array with the given number ofdimensions.static intgetDimensionDepth(Class<?> arrayClass) Determine the number of dimensions for anarrayClass.static intgetDimensionDepth(Object value) Determine the number of dimensions for an array object.
- 
Method Details- 
getDimensionDepthDetermine the number of dimensions for an array object.- Parameters:
- value- the array to inspect, must not be null.
- Returns:
- number of dimensions.
 
- 
getDimensionDepthDetermine the number of dimensions for anarrayClass.- Parameters:
- arrayClass- the array type to inspect, must not be null.
- Returns:
- number of dimensions.
 
- 
getArrayClass
 
-