com.ziqni.transformer.test.utils.ScalaUtils Maven / Gradle / Ivy
package com.ziqni.transformer.test.utils;
import scala.collection.immutable.Seq;
import scala.jdk.javaapi.CollectionConverters;
import java.util.List;
public abstract class ScalaUtils {
public static final scala.collection.immutable.Seq emptySeqString = CollectionConverters.asScala(List.of()).toSeq();
public static Seq listJava2Scala(List javaList){
return scala.jdk.CollectionConverters.ListHasAsScala(javaList).asScala().toSeq();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy