akka.util
Class Helpers

java.lang.Object
  extended by akka.util.Helpers

public class Helpers
extends java.lang.Object


Constructor Summary
Helpers()
           
 
Method Summary
static java.lang.String base64(long l, scala.collection.mutable.StringBuilder sb)
           
static java.lang.String base64chars()
           
static int compareIdentityHash(java.lang.Object a, java.lang.Object b)
           
static
<T> java.util.Comparator<T>
identityHashComparator(java.util.Comparator<T> comp)
          Create a comparator which will efficiently use System.identityHashCode, unless that happens to be the same for two non-equals objects, in which case the supplied “real” comparator is used; the comparator must be consistent with equals, otherwise it would not be an enhancement over the identityHashCode.
static boolean isWindows()
           
static java.util.regex.Pattern makePattern(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helpers

public Helpers()
Method Detail

isWindows

public static boolean isWindows()

makePattern

public static java.util.regex.Pattern makePattern(java.lang.String s)

compareIdentityHash

public static int compareIdentityHash(java.lang.Object a,
                                      java.lang.Object b)

identityHashComparator

public static <T> java.util.Comparator<T> identityHashComparator(java.util.Comparator<T> comp)
Create a comparator which will efficiently use System.identityHashCode, unless that happens to be the same for two non-equals objects, in which case the supplied “real” comparator is used; the comparator must be consistent with equals, otherwise it would not be an enhancement over the identityHashCode.


base64chars

public static final java.lang.String base64chars()

base64

public static java.lang.String base64(long l,
                                      scala.collection.mutable.StringBuilder sb)