Package org.apache.pekko.japi
Class Util$
java.lang.Object
org.apache.pekko.japi.Util$
This class hold common utilities for Java
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> scala.reflect.ClassTag<T>Returns a ClassTag describing the provided Class.<T> scala.collection.immutable.IndexedSeq<T>immutableIndexedSeq(Iterable<T> iterable) Turns anIterableinto an immutable Scala IndexedSeq (by copying it).scala.collection.immutable.Seq<Class<?>>immutableSeq(Class<?>[] arr) Returns an immutable.Seq representing the provided array of Classes, an overloading of the generic immutableSeq in Util, to accommodate for erasure.<T> scala.collection.immutable.Seq<T>immutableSeq(Iterable<T> iterable) Turns anIterableinto an immutable Scala sequence (by copying it).<T> scala.collection.immutable.Seq<T>immutableSeq(Object arr) Turns an array into an immutable Scala sequence (by copying it).<T> scala.collection.immutable.Seq<T>immutableSingletonSeq(T value) <T> List<T>javaArrayList(scala.collection.immutable.Seq<T> seq)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Util$
public Util$()
-
-
Method Details
-
classTag
Returns a ClassTag describing the provided Class. -
immutableSeq
Returns an immutable.Seq representing the provided array of Classes, an overloading of the generic immutableSeq in Util, to accommodate for erasure. -
immutableSeq
Turns an array into an immutable Scala sequence (by copying it). -
immutableSeq
Turns anIterableinto an immutable Scala sequence (by copying it). -
immutableSingletonSeq
public <T> scala.collection.immutable.Seq<T> immutableSingletonSeq(T value) -
javaArrayList
-
immutableIndexedSeq
Turns anIterableinto an immutable Scala IndexedSeq (by copying it).
-