com.zwares.base.event
Class EEventBuffer

java.lang.Object
  |
  +--com.zwares.base.event.EEventBuffer
All Implemented Interfaces:
Destructible

public class EEventBuffer
extends java.lang.Object
implements Destructible


Constructor Summary
EEventBuffer()
           
 
Method Summary
 int bufferSize()
           
 java.lang.Object dequeue()
           
 void destroy()
          Derefrences all instances being held by this object.
 void enqueue(java.lang.Object inObject)
           
 java.lang.Object get(int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EEventBuffer

public EEventBuffer()
Method Detail

enqueue

public void enqueue(java.lang.Object inObject)

dequeue

public java.lang.Object dequeue()

get

public java.lang.Object get(int index)

size

public int size()

bufferSize

public int bufferSize()

destroy

public void destroy()
Derefrences all instances being held by this object. This assueres that the objects can be cleanly grabage collected. Implemented from Destructible interface

Specified by:
destroy in interface Destructible