au.csiro.variantspark.work.TestApp.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of variant-spark_2.11 Show documentation
Show all versions of variant-spark_2.11 Show documentation
Genomic variants interpretation toolkit
The newest version!
package au.csiro.variantspark.work
import java.util.function.Supplier
object TestApp {
val tls: ThreadLocal[String] = ThreadLocal.withInitial[String](new Supplier[String] {
def get(): String = {
println("Init value")
"fjldjfdjlfd"
}
})
def main(args: Array[String]) {
println("Value: " + tls.get)
}
}