The Meta-Environment API

toolbus.atom
Class Atom.EmptyProcessInstanceArrayHolder

java.lang.Object
  extended by toolbus.atom.Atom.EmptyProcessInstanceArrayHolder
Enclosing class:
Atom

private static class Atom.EmptyProcessInstanceArrayHolder
extends java.lang.Object

This class holds static reference to an empty process instance array, which can be used as return value in the debugExecute method. Using this instead of a newly created array every time will reduce garbage creation.

Author:
Arnold Lankamp

Field Summary
static ProcessInstance[] ZEROPARTNERS
           
 
Constructor Summary
private Atom.EmptyProcessInstanceArrayHolder()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZEROPARTNERS

public static final ProcessInstance[] ZEROPARTNERS
Constructor Detail

Atom.EmptyProcessInstanceArrayHolder

private Atom.EmptyProcessInstanceArrayHolder()

The Meta-Environment API