Class CollectionUtils

java.lang.Object
org.variantsync.diffdetective.util.CollectionUtils

public class CollectionUtils extends Object
  • Constructor Details

    • CollectionUtils

      public CollectionUtils()
  • Method Details

    • getRandomElement

      public static <E> E getRandomElement(Random random, Set<E> set)
    • invert

      public static <K, V> Map<V,K> invert(Map<K,V> map, Supplier<Map<V,K>> mapFactory)