Package akka.util
Class Helpers
- java.lang.Object
- 
- akka.util.Helpers
 
- 
 public class Helpers extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHelpers.ConfigOps$static classHelpers.Requiring<A>Implicit class providingrequiringmethods.static classHelpers.Requiring$
 - 
Constructor SummaryConstructors Constructor Description Helpers()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringbase64(long l, java.lang.StringBuilder sb)static java.lang.StringBuilderbase64$default$2()static java.lang.Stringbase64chars()static intcompareIdentityHash(java.lang.Object a, java.lang.Object b)static java.lang.StringcurrentTimeMillisToUTCString(long timestamp)Converts a "currentTimeMillis"-obtained timestamp accordingly:static <T> java.util.Comparator<T>identityHashComparator(java.util.Comparator<T> comp)Create a comparator which will efficiently useSystem.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 booleanisWindows()static java.util.regex.PatternmakePattern(java.lang.String s)static <A> Helpers.Requiring<A>Requiring(A value)static java.lang.Stringtimestamp(long time)static java.lang.StringtoRootLowerCase(java.lang.String s)
 
- 
- 
- 
Method Detail- 
toRootLowerCasepublic static java.lang.String toRootLowerCase(java.lang.String s) 
 - 
isWindowspublic static boolean isWindows() 
 - 
makePatternpublic static java.util.regex.Pattern makePattern(java.lang.String s) 
 - 
compareIdentityHashpublic static int compareIdentityHash(java.lang.Object a, java.lang.Object b)
 - 
identityHashComparatorpublic static <T> java.util.Comparator<T> identityHashComparator(java.util.Comparator<T> comp) Create a comparator which will efficiently useSystem.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.
 - 
currentTimeMillisToUTCStringpublic static java.lang.String currentTimeMillisToUTCString(long timestamp) Converts a "currentTimeMillis"-obtained timestamp accordingly:"$hours%02d:$minutes%02d:$seconds%02d.$ms%03dUTC"- Parameters:
- timestamp- a "currentTimeMillis"-obtained timestamp
- Returns:
- the formatted timestamp
 
 - 
timestamppublic static java.lang.String timestamp(long time) 
 - 
base64charspublic static final java.lang.String base64chars() 
 - 
base64public static java.lang.String base64(long l, java.lang.StringBuilder sb)
 - 
base64$default$2public static java.lang.StringBuilder base64$default$2() 
 - 
Requiringpublic static final <A> Helpers.Requiring<A> Requiring(A value) 
 
- 
 
-