de.jtem.jpetsc
Class PrimitivNative

java.lang.Object
  extended by de.jtem.jpetsc.PrimitivNative
Direct Known Subclasses:
MPI, Native, PETSc

public abstract class PrimitivNative
extends java.lang.Object

Common parent of classes that have a corresponding native class. It destroys the native Object if it is finalized (runs "delete nativeObject;") if the field destroyNative is true.


Field Summary
protected  boolean destroyNative
           
 
Constructor Summary
protected PrimitivNative()
           
protected PrimitivNative(PrimitivNative n)
           
 
Method Summary
protected  void finalize()
           
 java.lang.String getNativeObjectToString()
           
protected static void load(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

destroyNative

protected boolean destroyNative
Constructor Detail

PrimitivNative

protected PrimitivNative()

PrimitivNative

protected PrimitivNative(PrimitivNative n)
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getNativeObjectToString

public java.lang.String getNativeObjectToString()

load

protected static void load(java.lang.String name)