public abstract class ArraysTools extends Object
Constructor and Description |
---|
ArraysTools() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
arrayIncludesInstanceOf(T[] array,
Class<?> cls) |
static boolean |
arraysEqual(Object[] array1,
Object[] array2) |
static Object[] |
mapToArray(Map<String,Object> data,
String[] keys)
Converts map's value set to an array.
|
public static <T> boolean arrayIncludesInstanceOf(T[] array, Class<?> cls)
public static Object[] mapToArray(Map<String,Object> data, String[] keys)
keys
parameter specifies requested elements and their order.data
- Source map.keys
- Array of keys that represent requested map values.null
is inserted.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.