All Downloads are FREE. Search and download functionalities are using the official Maven repository.

biz.lobachev.annette.data_dictionary.builder.utils.Utils.scala Maven / Gradle / Ivy

package biz.lobachev.annette.data_dictionary.builder.utils

object Utils {

  def findDuplicates(s: Seq[String]): Seq[String] =
    s.groupBy(v => v).filter { case _ -> v => v.length > 1 }.map(d => d._1).toSeq


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy