public class ScalaInterop
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ScalaInterop.Fun1<T,V> |
static interface |
ScalaInterop.Fun2<T1,T2,V> |
Modifier and Type | Method and Description |
---|---|
static <T> scala.collection.immutable.List<T> |
concat(scala.collection.immutable.List<T> a,
scala.collection.immutable.List<T> b) |
static <T> scala.collection.immutable.List<T> |
emptyList() |
static <T,V> ScalaInterop.Fun1<T,V> |
fun1(ScalaInterop.Fun1<T,V> fun) |
static <T1,T2,V> ScalaInterop.Fun2<T1,T2,V> |
fun2(ScalaInterop.Fun2<T1,T2,V> fun) |
static <T> java.util.Iterator<T> |
javaIterator(scala.collection.Iterator<T> it)
Java
Iterator of Scala Iterator . |
static <T> scala.collection.Seq<T> |
listOf(T t) |
static <T,V> scala.PartialFunction<T,V> |
match(java.lang.Class<V> clazz) |
static <T,V> scala.PartialFunction<T,T> |
replace(java.lang.Class<V> clazz,
T replace) |
static <T> scala.collection.Iterator<T> |
scalaIterator(java.lang.Iterable<T> iterable)
Scala
Iterator of Java Iterable . |
static <T> scala.collection.Iterator<T> |
scalaIterator(java.util.Iterator<T> it)
Scala
Iterator of Java Iterator . |
static <T> scala.collection.Seq<T> |
seqOf(T... t) |
static <T1,T2> scala.Tuple2<T1,T2> |
tuple(T1 t1,
T2 t2) |
public static <T> scala.collection.Seq<T> seqOf(T... t)
public static <T> scala.collection.immutable.List<T> concat(scala.collection.immutable.List<T> a, scala.collection.immutable.List<T> b)
public static <T> scala.collection.Seq<T> listOf(T t)
public static <T> scala.collection.immutable.List<T> emptyList()
public static <T> scala.collection.Iterator<T> scalaIterator(java.lang.Iterable<T> iterable)
Iterator
of Java Iterable
.public static <T> scala.collection.Iterator<T> scalaIterator(java.util.Iterator<T> it)
Iterator
of Java Iterator
.public static <T> java.util.Iterator<T> javaIterator(scala.collection.Iterator<T> it)
Iterator
of Scala Iterator
.public static <T1,T2> scala.Tuple2<T1,T2> tuple(T1 t1, T2 t2)
public static <T,V> scala.PartialFunction<T,T> replace(java.lang.Class<V> clazz, T replace)
public static <T,V> scala.PartialFunction<T,V> match(java.lang.Class<V> clazz)
public static <T,V> ScalaInterop.Fun1<T,V> fun1(ScalaInterop.Fun1<T,V> fun)
public static <T1,T2,V> ScalaInterop.Fun2<T1,T2,V> fun2(ScalaInterop.Fun2<T1,T2,V> fun)