Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Constructor Summary
`HistoryRecord()`
`HistoryRecord(int maxRecords)`

Method Summary
`void` | `addHistoryRecord(java.lang.String newRecord)`
`java.util.Iterator` | `constIterator()`
`java.lang.String` | `get(int i)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### history

    java.util.LinkedList history

### maxRecords

    int maxRecords

Constructor Detail

### HistoryRecord

    public HistoryRecord()

### HistoryRecord

    public HistoryRecord(int maxRecords)

Method Detail

### addHistoryRecord

    public void addHistoryRecord(java.lang.String newRecord)

### constIterator

    public java.util.Iterator constIterator()

### get

    public java.lang.String get(int i)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD