org.apache.avalon.excalibur.collections
Class CircularBuffer
java.lang.Object
|
+--org.apache.avalon.excalibur.collections.CircularBuffer
- public class CircularBuffer
- extends java.lang.Object
- Author:
- Federico Barbieri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_buffer
protected java.lang.Object[] m_buffer
m_bufferSize
protected int m_bufferSize
m_contentSize
protected int m_contentSize
m_head
protected int m_head
m_tail
protected int m_tail
CircularBuffer
public CircularBuffer(int size)
CircularBuffer
public CircularBuffer()
isEmpty
public boolean isEmpty()
getContentSize
public int getContentSize()
getBufferSize
public int getBufferSize()
append
public void append(java.lang.Object o)
get
public java.lang.Object get()
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.