Class CollectionUtils
java.lang.Object
org.elasticsearch.xpack.esql.core.util.CollectionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T> combine(Collection<? extends T>... collections) static <T> List<T> combine(Collection<? extends T> left, T... entries) static <T> List<T> static booleanisEmpty(Collection<?> col) static <T> List<T> prependToCopy(T element, Collection<T> collection) Creates a copy of the given collection with the given element prepended.
-
Constructor Details
-
CollectionUtils
public CollectionUtils()
-
-
Method Details
-
isEmpty
-
combine
-
combine
-
combine
-
prependToCopy
Creates a copy of the given collection with the given element prepended.- Parameters:
element- element to prependcollection- collection to copy
-