Uses of Class
java.lang.ClassCastException
-
Packages that use ClassCastException Package Description java.lang.invoke Thejava.lang.invokepackage provides low-level primitives for interacting with the Java Virtual Machine.org.w3c.dom.bootstrap Provides a factory for obtaining instances ofDOMImplementation.org.xml.sax.helpers Provides helper classes, including support for bootstrapping SAX-based applications. -
-
Uses of ClassCastException in java.lang.invoke
Methods in java.lang.invoke that throw ClassCastException Modifier and Type Method Description MethodHandleMethodHandle. asType(MethodType newType)Returns a MethodHandle that presents as being of MethodType newType.MethodHandleMethodHandle. bindTo(Object value)Bind the value as the first argument to the MethodHandlestatic MethodHandleMethodHandles. constant(Class<?> returnType, Object constantValue)Create a MethodHandle that returns the constantValue on each invocation.ObjectMethodHandle. invoke(Object... args)Invoke the receiver MethodHandle against the supplied arguments.ObjectMethodHandle. invokeWithArguments(Object... args)Invoke the MethodHandle using an Object[] of arguments.ObjectMethodHandle. invokeWithArguments(List<?> args)Helper method to callMethodHandle.invokeWithArguments(Object[]).static <T extends Member>
TMethodHandles. reflectAs(Class<T> expected, MethodHandle target)Gets the underlying Member of the providedtargetMethodHandle.Constructors in java.lang.invoke that throw ClassCastException Constructor Description ConstantCallSite(MethodType targetType, MethodHandle hook)Create a ConstantCallSite and assign the hook MethodHandle's result to its permanent target. -
Uses of ClassCastException in org.w3c.dom.bootstrap
Methods in org.w3c.dom.bootstrap that throw ClassCastException Modifier and Type Method Description static DOMImplementationRegistryDOMImplementationRegistry. newInstance()Obtain a new instance of aDOMImplementationRegistry. -
Uses of ClassCastException in org.xml.sax.helpers
Methods in org.xml.sax.helpers that throw ClassCastException Modifier and Type Method Description static ParserParserFactory. makeParser()Deprecated.Create a new SAX parser using the `org.xml.sax.parser' system property.static ParserParserFactory. makeParser(String className)Deprecated.Create a new SAX parser object using the class name provided.
-