akka.japi
Class Util$

java.lang.Object
  extended by akka.japi.Util$

public class Util$
extends java.lang.Object

This class hold common utilities for Java


Field Summary
static Util$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
Util$()
           
 
Method Summary
<T> scala.reflect.ClassTag<T>
classTag(java.lang.Class<T> clazz)
          Returns a ClassTag describing the provided Class.
<T> scala.collection.immutable.IndexedSeq<T>
immutableIndexedSeq(java.lang.Iterable<T> iterable)
          Turns an Iterable into an immutable Scala IndexedSeq (by copying it).
 scala.collection.immutable.Seq<java.lang.Class<?>> immutableSeq(java.lang.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(java.lang.Iterable<T> iterable)
          Turns an Iterable into an immutable Scala sequence (by copying it).
<T> scala.collection.immutable.Seq<T>
immutableSeq(java.lang.Object arr)
          Turns an array into an immutable Scala sequence (by copying it).
<T> scala.collection.immutable.Seq<T>
immutableSingletonSeq(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE$

public static final Util$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

Util$

public Util$()
Method Detail

classTag

public <T> scala.reflect.ClassTag<T> classTag(java.lang.Class<T> clazz)
Returns a ClassTag describing the provided Class.

Parameters:
clazz - (undocumented)
Returns:
(undocumented)

immutableSeq

public scala.collection.immutable.Seq<java.lang.Class<?>> immutableSeq(java.lang.Class<?>[] arr)
Returns an immutable.Seq representing the provided array of Classes, an overloading of the generic immutableSeq in Util, to accommodate for erasure.

Parameters:
arr - (undocumented)
Returns:
(undocumented)

immutableSeq

public <T> scala.collection.immutable.Seq<T> immutableSeq(java.lang.Object arr)
Turns an array into an immutable Scala sequence (by copying it).

Parameters:
arr - (undocumented)
Returns:
(undocumented)

immutableSeq

public <T> scala.collection.immutable.Seq<T> immutableSeq(java.lang.Iterable<T> iterable)
Turns an Iterable into an immutable Scala sequence (by copying it).

Parameters:
iterable - (undocumented)
Returns:
(undocumented)

immutableSingletonSeq

public <T> scala.collection.immutable.Seq<T> immutableSingletonSeq(T value)

immutableIndexedSeq

public <T> scala.collection.immutable.IndexedSeq<T> immutableIndexedSeq(java.lang.Iterable<T> iterable)
Turns an Iterable into an immutable Scala IndexedSeq (by copying it).

Parameters:
iterable - (undocumented)
Returns:
(undocumented)