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

## com.intel.cosbench.utils
Class ListRegistry<T>

    java.lang.Object
      com.intel.cosbench.utils.ListRegistry<T>

All Implemented Interfaces:
  java.lang.Iterable<T>

Direct Known Subclasses:
  ScheduleRegistry, SnapshotRegistry, StageRegistry, StateRegistry, TaskRegistry, WorkerRegistry

    public class ListRegistry<T>

extends java.lang.Object
implements java.lang.Iterable<T>

Constructor Summary
`ListRegistry()`

Method Summary
`void` | `addItem(T item)`
`java.util.List<T>` | `getAllItems()`
`T` | `getItem(int index)`
`int` | `getSize()`
`java.util.Iterator<T>` | `iterator()`

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

Constructor Detail

### ListRegistry

    public ListRegistry()

Method Detail

### getSize

    public int getSize()

### addItem

    public void addItem(T item)

### getItem

    public T getItem(int index)

### getAllItems

    public java.util.List<T> getAllItems()

### iterator

    public java.util.Iterator<T> iterator()

  Specified by:
    `iterator` in interface `java.lang.Iterable<T>`

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