Class ArraysTools
java.lang.Object
org.hibernate.envers.internal.tools.ArraysTools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> booleanarrayIncludesInstanceOf(T[] array, Class<?> cls) static booleanarraysEqual(Object[] array1, Object[] array2) static Object[]mapToArray(Map<String, Object> data, String[] keys) Converts map's value set to an array.
-
Constructor Details
-
ArraysTools
public ArraysTools()
-
-
Method Details
-
arrayIncludesInstanceOf
-
arraysEqual
-
mapToArray
Converts map's value set to an array.keysparameter specifies requested elements and their order.- Parameters:
data- Source map.keys- Array of keys that represent requested map values.- Returns:
- Array of values stored in the map under specified keys. If map does not contain requested key,
nullis inserted.
-