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

com.ziqni.transformer.test.utils.ScalaUtils Maven / Gradle / Ivy

There is a newer version: 2.0.12-RC1
Show newest version
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