org.jasig.portal.channels.iccdemo
Class HistoryRecord
java.lang.Object
org.jasig.portal.channels.iccdemo.HistoryRecord
public class HistoryRecord
- extends java.lang.Object
A trivial class for keeping a queue of N strings.
This class is bound to jndi "chan-obj" context by CHistory, so
that CViewer (or other channels) could add to the history list.
- Version:
- $Revision: 1.3 $
- Author:
- Peter Kharchenko
Field Summary |
(package private) java.util.LinkedList |
history
|
(package private) int |
maxRecords
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
history
java.util.LinkedList history
maxRecords
int maxRecords
HistoryRecord
public HistoryRecord()
HistoryRecord
public HistoryRecord(int maxRecords)
addHistoryRecord
public void addHistoryRecord(java.lang.String newRecord)
constIterator
public java.util.Iterator constIterator()
get
public java.lang.String get(int i)