com.gargoylesoftware.base.trace
public class TraceItemQueue extends Object
Internal use only.
.Version: $Revision: 1.7 $
Field Summary | |
---|---|
TraceItem | firstItem_ |
int | itemCount_ |
TraceItem | lastItem_ |
Constructor Summary | |
---|---|
TraceItemQueue() |
Method Summary | |
---|---|
protected void | assertNotNull(String fieldName, Object fieldValue)
Verify that the specified value is not null. |
void | checkValidity() |
TraceItem | pop()
Return the next item on the queue or null if the queue is empty |
void | push(TraceItem item) |
int | size() |
String | toString() |
Parameters: fieldName The name of the field to check fieldValue The value of the field to check
Throws: DetailedNullPointerException If fieldValue is null
Returns: The next item or null.
Parameters: item The item to push.
Returns: the number of items in the queue.
Returns: The string representation of this object.