kotlin.jvm.internal
Class Intrinsics
java.lang.Object
kotlin.jvm.internal.Intrinsics
public class Intrinsics
- extends Object
Method Summary |
static boolean |
areEqual(Object first,
Object second)
|
static kotlin.IntRange |
arrayIndices(int length)
|
static void |
checkFieldIsNotNull(Object value,
String className,
String fieldName)
|
static void |
checkParameterIsNotNull(Object value,
String paramName)
|
static void |
checkReturnedValueIsNotNull(Object value,
String className,
String methodName)
|
static int |
compare(int thisVal,
int anotherVal)
|
static int |
compare(long thisVal,
long anotherVal)
|
static
|
sanitizeStackTrace(T throwable)
|
static String |
stringPlus(String self,
Object other)
|
static
|
stupidSync(Object lock,
kotlin.Function0<R> block)
|
static void |
throwNpe()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringPlus
public static String stringPlus(String self,
Object other)
throwNpe
public static void throwNpe()
checkReturnedValueIsNotNull
public static void checkReturnedValueIsNotNull(Object value,
String className,
String methodName)
checkFieldIsNotNull
public static void checkFieldIsNotNull(Object value,
String className,
String fieldName)
checkParameterIsNotNull
public static void checkParameterIsNotNull(Object value,
String paramName)
compare
public static int compare(long thisVal,
long anotherVal)
compare
public static int compare(int thisVal,
int anotherVal)
areEqual
public static boolean areEqual(Object first,
Object second)
arrayIndices
public static kotlin.IntRange arrayIndices(int length)
stupidSync
public static <R> R stupidSync(Object lock,
kotlin.Function0<R> block)
sanitizeStackTrace
public static <T extends Throwable> T sanitizeStackTrace(T throwable)
Copyright © 2014. All Rights Reserved.