public interface PyObjectAdapter
Modifier and Type | Method and Description |
---|---|
PyObject |
adapt(Object o)
Returns the PyObject version of o or null if canAdapt(o) returns false.
|
boolean |
canAdapt(Object o)
Returns true if o can be adapted by this adapter.
|