javax.realtime
Class NullMemoryArea

java.lang.Object
  |
  +--javax.realtime.MemoryArea
        |
        +--javax.realtime.NullMemoryArea

public class NullMemoryArea
extends MemoryArea


Field Summary
static long count
          Count how many instances of the NullMemoryArea are asked for.
private static javax.realtime.NullMemoryArea nullMemory
          The one and only NullMemoryArea.
 
Fields inherited from class javax.realtime.MemoryArea
constant, heap, id, logic, memoryConsumed, nullClassArr, nullMem, nullObjArr, scoped, shadow, size
 
Constructor Summary
private NullMemoryArea()
          Create the one and only NullMemoryArea.
 
Method Summary
 void checkAccess(java.lang.Object obj)
          Check access to this NullMemoryArea.
protected  void initNative(long sizeInBytes)
          Initialize the native component of this NullMemoryArea.
static javax.realtime.NullMemoryArea instance()
          Return an instance of the one and only NullMemoryArea.
 java.lang.String toString()
          Print out a helpful string representing this NullMemoryArea.
 
Methods inherited from class javax.realtime.MemoryArea
bless, checkNewInstance, enter, enter, enterMemBlock, executeInArea, exitMemBlock, getMemoryArea, getOuterScope, memoryConsumed, memoryRemaining, newArray, newArray, newArray, newArray, newInstance, newInstance, newInstance, newInstance, postSetup, preSetup, registerFinal, shadow, size, startMem, stopMem, throwIllegalAssignmentError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

count

public static long count
Count how many instances of the NullMemoryArea are asked for.


nullMemory

private static javax.realtime.NullMemoryArea nullMemory
The one and only NullMemoryArea.

Constructor Detail

NullMemoryArea

private NullMemoryArea()
Create the one and only NullMemoryArea.

Method Detail

initNative

protected void initNative(long sizeInBytes)
Initialize the native component of this NullMemoryArea.

Specified by:
initNative in class MemoryArea

instance

public static javax.realtime.NullMemoryArea instance()
Return an instance of the one and only NullMemoryArea.


checkAccess

public void checkAccess(java.lang.Object obj)
Check access to this NullMemoryArea.

Overrides:
checkAccess in class MemoryArea

toString

public java.lang.String toString()
Print out a helpful string representing this NullMemoryArea.

Overrides:
toString in class MemoryArea