Class CollectionUtils
java.lang.Object
com.polarion.alm.shared.api.utils.collections.CollectionUtils
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> void
addAllFromTo
(Iterable<? extends E> items, Collection<? super E> collection) static <E> HashSet<E>
createHashSet
(E... elements) static <E> int
indexOfInstance
(List<E> list, E instance, int lastKnownIndex) static String
-
Method Details
-
addAllFromTo
public static <E> void addAllFromTo(@NotNull Iterable<? extends E> items, @NotNull Collection<? super E> collection) -
join
-
createHashSet
-
indexOfInstance
public static <E> int indexOfInstance(@NotNull List<E> list, @NotNull E instance, int lastKnownIndex)
-