public class Intrinsics extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(double first,
Double second) |
static boolean |
areEqual(Double first,
double second) |
static boolean |
areEqual(Double first,
Double second) |
static boolean |
areEqual(float first,
Float second) |
static boolean |
areEqual(Float first,
float second) |
static boolean |
areEqual(Float first,
Float second) |
static boolean |
areEqual(Object first,
Object second) |
static void |
checkExpressionValueIsNotNull(Object value,
String expression) |
static void |
checkFieldIsNotNull(Object value,
String message) |
static void |
checkFieldIsNotNull(Object value,
String className,
String fieldName) |
static void |
checkHasClass(String internalName) |
static void |
checkHasClass(String internalName,
String requiredVersion) |
static void |
checkNotNull(Object object) |
static void |
checkNotNull(Object object,
String message) |
static void |
checkNotNullExpressionValue(Object value,
String message) |
static void |
checkNotNullParameter(Object value,
String message) |
static void |
checkParameterIsNotNull(Object value,
String paramName) |
static void |
checkReturnedValueIsNotNull(Object value,
String message) |
static void |
checkReturnedValueIsNotNull(Object value,
String className,
String methodName) |
static int |
compare(int thisVal,
int anotherVal) |
static int |
compare(long thisVal,
long anotherVal) |
static void |
needClassReification() |
static void |
needClassReification(String message) |
static void |
reifiedOperationMarker(int id,
String typeParameterIdentifier) |
static void |
reifiedOperationMarker(int id,
String typeParameterIdentifier,
String message) |
static String |
stringPlus(String self,
Object other) |
static void |
throwAssert() |
static void |
throwAssert(String message) |
static void |
throwIllegalArgument() |
static void |
throwIllegalArgument(String message) |
static void |
throwIllegalState() |
static void |
throwIllegalState(String message) |
static void |
throwNpe() |
static void |
throwNpe(String message) |
static void |
throwUndefinedForReified() |
static void |
throwUndefinedForReified(String message) |
static void |
throwUninitializedProperty(String message) |
static void |
throwUninitializedPropertyAccessException(String propertyName) |
public static void checkNotNull(Object object)
public static void throwNpe()
public static void throwNpe(String message)
public static void throwUninitializedProperty(String message)
public static void throwUninitializedPropertyAccessException(String propertyName)
public static void throwAssert()
public static void throwAssert(String message)
public static void throwIllegalArgument()
public static void throwIllegalArgument(String message)
public static void throwIllegalState()
public static void throwIllegalState(String message)
public static void checkExpressionValueIsNotNull(Object value, String expression)
public static void checkNotNullExpressionValue(Object value, String message)
public static void checkReturnedValueIsNotNull(Object value, String className, String methodName)
public static void checkReturnedValueIsNotNull(Object value, String message)
public static void checkFieldIsNotNull(Object value, String className, String fieldName)
public static int compare(long thisVal, long anotherVal)
public static int compare(int thisVal, int anotherVal)
@SinceKotlin(version="1.1") public static boolean areEqual(Double first, double second)
@SinceKotlin(version="1.1") public static boolean areEqual(double first, Double second)
@SinceKotlin(version="1.1") public static boolean areEqual(Float first, float second)
@SinceKotlin(version="1.1") public static boolean areEqual(float first, Float second)
public static void throwUndefinedForReified()
public static void throwUndefinedForReified(String message)
public static void reifiedOperationMarker(int id, String typeParameterIdentifier)
public static void reifiedOperationMarker(int id, String typeParameterIdentifier, String message)
public static void needClassReification()
public static void needClassReification(String message)
public static void checkHasClass(String internalName) throws ClassNotFoundException
ClassNotFoundException
public static void checkHasClass(String internalName, String requiredVersion) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2017. All Rights Reserved.