Class CollectionUtils

java.lang.Object
com.polarion.alm.shared.api.utils.collections.CollectionUtils

public final class CollectionUtils extends Object
Since:
3.9.0
  • Method Details

    • addAllFromTo

      public static <E> void addAllFromTo(@NotNull Iterable<? extends E> items, @NotNull Collection<? super E> collection)
    • join

      @NotNull public static String join(@Nullable Iterable<String> collection, @NotNull String separator)
    • createHashSet

      @NotNull public static <E> HashSet<E> createHashSet(E... elements)
    • indexOfInstance

      public static <E> int indexOfInstance(@NotNull List<E> list, @NotNull E instance, int lastKnownIndex)