public abstract class CastFunction<E> extends Object implements com.google.common.base.Function<Object,E>
| Constructor and Description |
|---|
CastFunction(Class<? extends E> clazz) |
| Modifier and Type | Method and Description |
|---|---|
E |
apply(Object object) |
PythonException |
createPythonException(String message,
ClassCastException cause) |
protected abstract String |
formatMessage(Object object) |
Class<? extends E> |
getClazz() |
public PythonException createPythonException(String message, ClassCastException cause)
Copyright © 2024. All rights reserved.