Class CollectionUtils

java.lang.Object
sootup.core.util.CollectionUtils

public class CollectionUtils extends Object
  • Constructor Details

    • CollectionUtils

      public CollectionUtils()
  • Method Details

    • replace

      public static <T> void replace(Set<T> set, T oldValue, T newValue)
      Removes the oldValue from the set and adds the newValue afterwards.