public class Intrinsics extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Intrinsics.SpreadBuilder |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areEqual(Object first,
Object second) |
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 <T> Class<T> |
getJavaClass(T self) |
static String |
stringPlus(String self,
Object other) |
static <R> R |
stupidSync(Object lock,
Function0<R> block) |
static void |
throwNpe() |
public static void throwNpe()
public static void checkReturnedValueIsNotNull(Object value, String className, String methodName)
public static void checkFieldIsNotNull(Object value, String className, String fieldName)
public static <T> Class<T> getJavaClass(T self)
public static int compare(long thisVal,
long anotherVal)
public static int compare(int thisVal,
int anotherVal)
Copyright © 2013. All Rights Reserved.