CxxObjectBaseImpl

public abstract class CxxObjectBaseImpl implements CxxObject

Base class for all C++ classes.

Methods

_cxx_rt_delete2

final synchronized void _cxx_rt_delete2()

Invokes the _cxx_rt_delete method and invalidates the native peer.

_cxx_rt_invalidate

final void _cxx_rt_invalidate()

Invalidates the native peer.

_cxx_rt_swapPeer

abstract long _cxx_rt_swapPeer(long newPeer)

Swaps the current peer with the specified.

Parameters:
  • newPeer – New peer
Returns:

Old peer

cxxGetDirectInterface

public final <T extends CxxObject> T cxxGetDirectInterface(Class<T> cls)

cxxGetUnsafeDirectInterface

public final <T extends CxxObject> T cxxGetUnsafeDirectInterface(Class<T> cls)

cxxGetUnsafeImplInterface

public final <T extends CxxObject> T cxxGetUnsafeImplInterface(Class<T> cls)

cxxIsConstInterface

public final boolean cxxIsConstInterface()

cxxIsDirectInterface

public boolean cxxIsDirectInterface()

cxxIsIdenticalTo

public final boolean cxxIsIdenticalTo(Object other)