kotlin.jvm.internal
Class TypeIntrinsics
java.lang.Object
kotlin.jvm.internal.TypeIntrinsics
public class TypeIntrinsics
- extends Object
|
Method Summary |
static Collection |
asMutableCollection(Object obj)
|
static Collection |
asMutableCollection(Object obj,
String message)
|
static Iterable |
asMutableIterable(Object obj)
|
static Iterable |
asMutableIterable(Object obj,
String message)
|
static Iterator |
asMutableIterator(Object obj)
|
static Iterator |
asMutableIterator(Object obj,
String message)
|
static List |
asMutableList(Object obj)
|
static List |
asMutableList(Object obj,
String message)
|
static ListIterator |
asMutableListIterator(Object obj)
|
static ListIterator |
asMutableListIterator(Object obj,
String message)
|
static Map |
asMutableMap(Object obj)
|
static Map |
asMutableMap(Object obj,
String message)
|
static Map.Entry |
asMutableMapEntry(Object obj)
|
static Map.Entry |
asMutableMapEntry(Object obj,
String message)
|
static Set |
asMutableSet(Object obj)
|
static Set |
asMutableSet(Object obj,
String message)
|
static Object |
beforeCheckcastToFunctionOfArity(Object obj,
int arity)
|
static Object |
beforeCheckcastToFunctionOfArity(Object obj,
int arity,
String message)
|
static Collection |
castToCollection(Object obj)
|
static Iterable |
castToIterable(Object obj)
|
static Iterator |
castToIterator(Object obj)
|
static List |
castToList(Object obj)
|
static ListIterator |
castToListIterator(Object obj)
|
static Map |
castToMap(Object obj)
|
static Map.Entry |
castToMapEntry(Object obj)
|
static Set |
castToSet(Object obj)
|
static int |
getFunctionArity(Object obj)
|
static boolean |
isFunctionOfArity(Object obj,
int arity)
|
static boolean |
isMutableCollection(Object obj)
|
static boolean |
isMutableIterable(Object obj)
|
static boolean |
isMutableIterator(Object obj)
|
static boolean |
isMutableList(Object obj)
|
static boolean |
isMutableListIterator(Object obj)
|
static boolean |
isMutableMap(Object obj)
|
static boolean |
isMutableMapEntry(Object obj)
|
static boolean |
isMutableSet(Object obj)
|
static ClassCastException |
throwCce(ClassCastException e)
|
static void |
throwCce(Object argument,
String requestedClassName)
|
static void |
throwCce(String message)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeIntrinsics
public TypeIntrinsics()
throwCce
public static void throwCce(Object argument,
String requestedClassName)
throwCce
public static void throwCce(String message)
throwCce
public static ClassCastException throwCce(ClassCastException e)
isMutableIterator
public static boolean isMutableIterator(Object obj)
asMutableIterator
public static Iterator asMutableIterator(Object obj)
asMutableIterator
public static Iterator asMutableIterator(Object obj,
String message)
castToIterator
public static Iterator castToIterator(Object obj)
isMutableListIterator
public static boolean isMutableListIterator(Object obj)
asMutableListIterator
public static ListIterator asMutableListIterator(Object obj)
asMutableListIterator
public static ListIterator asMutableListIterator(Object obj,
String message)
castToListIterator
public static ListIterator castToListIterator(Object obj)
isMutableIterable
public static boolean isMutableIterable(Object obj)
asMutableIterable
public static Iterable asMutableIterable(Object obj)
asMutableIterable
public static Iterable asMutableIterable(Object obj,
String message)
castToIterable
public static Iterable castToIterable(Object obj)
isMutableCollection
public static boolean isMutableCollection(Object obj)
asMutableCollection
public static Collection asMutableCollection(Object obj)
asMutableCollection
public static Collection asMutableCollection(Object obj,
String message)
castToCollection
public static Collection castToCollection(Object obj)
isMutableList
public static boolean isMutableList(Object obj)
asMutableList
public static List asMutableList(Object obj)
asMutableList
public static List asMutableList(Object obj,
String message)
castToList
public static List castToList(Object obj)
isMutableSet
public static boolean isMutableSet(Object obj)
asMutableSet
public static Set asMutableSet(Object obj)
asMutableSet
public static Set asMutableSet(Object obj,
String message)
castToSet
public static Set castToSet(Object obj)
isMutableMap
public static boolean isMutableMap(Object obj)
asMutableMap
public static Map asMutableMap(Object obj)
asMutableMap
public static Map asMutableMap(Object obj,
String message)
castToMap
public static Map castToMap(Object obj)
isMutableMapEntry
public static boolean isMutableMapEntry(Object obj)
asMutableMapEntry
public static Map.Entry asMutableMapEntry(Object obj)
asMutableMapEntry
public static Map.Entry asMutableMapEntry(Object obj,
String message)
castToMapEntry
public static Map.Entry castToMapEntry(Object obj)
getFunctionArity
public static int getFunctionArity(Object obj)
isFunctionOfArity
public static boolean isFunctionOfArity(Object obj,
int arity)
beforeCheckcastToFunctionOfArity
public static Object beforeCheckcastToFunctionOfArity(Object obj,
int arity)
beforeCheckcastToFunctionOfArity
public static Object beforeCheckcastToFunctionOfArity(Object obj,
int arity,
String message)
Copyright © 2016. All Rights Reserved.