org.bridj
Class NativeObject

java.lang.Object
  extended by org.bridj.NativeObject
All Implemented Interfaces:
NativeObjectInterface
Direct Known Subclasses:
Callback, ObjCObject, StructObject

public abstract class NativeObject
extends Object
implements NativeObjectInterface

Base class for native objects.

Author:
Olivier

Field Summary
protected  Pointer<? extends NativeObject> peer
           
protected  BridJRuntime.TypeInfo typeInfo
           
 
Constructor Summary
protected NativeObject()
           
protected NativeObject(int constructorId, Object... args)
           
protected NativeObject(Pointer<? extends NativeObject> peer)
           
 
Method Summary
 NativeObject clone()
           
 boolean equals(Object o)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peer

protected Pointer<? extends NativeObject> peer

typeInfo

protected BridJRuntime.TypeInfo typeInfo
Constructor Detail

NativeObject

protected NativeObject(Pointer<? extends NativeObject> peer)

NativeObject

protected NativeObject()

NativeObject

protected NativeObject(int constructorId,
                       Object... args)
Method Detail

clone

public NativeObject clone()
                   throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2009-2012. All Rights Reserved.