public class JulieNeo4jUtilities extends Object
| Constructor and Description |
|---|
JulieNeo4jUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
convertArray(Object value)
Converts value to its correct runtime array type.
|
static Object[] |
convertElementsIntoArray(Class<?> cls,
Object... elements)
Converts elements into an array of the runtime type cls
.
|
static <T> T[] |
convertListToArray(List<T> list,
Class<?> cls) |
static <T> int |
findFirstValueInArray(T[] array,
T value)
Expects an array that is filled with value from the right and
returns the index of the first entry that equals value in the
array performing a binary search.
|
public static Object[] convertElementsIntoArray(Class<?> cls, Object... elements)
cls - elements - public static Object[] convertArray(Object value)
value - The array expressed as an objectpublic static <T> int findFirstValueInArray(T[] array,
T value)
array - Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.