|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRAContainer<T>
Defines the interface for a restricted access container.
| Method Summary | ||
|---|---|---|
void |
clear()
Empty the container. |
|
IList<T> |
elements(IListFactory<T> fact)
Return an immutable list of all elements in the container. |
|
|
execute(IRACVisitor<T,R,P> v,
P... inp)
Extensibility hook to accept a visitor algorithm. |
|
T |
get()
Remove the next item from the container and return it. |
|
boolean |
isFull()
Return TRUE if the container is full; otherwise, return FALSE. |
|
T |
peek()
Return the next element in this IRAContainer withour removing it. |
|
void |
put(T input)
Add an item to the container. |
|
| Method Detail |
|---|
void clear()
boolean isFull()
IList<T> elements(IListFactory<T> fact)
fact - for manufacturing an IList.T get()
void put(T input)
input - the Object to be added to this IRAContainer.T peek()
<R,P> R execute(IRACVisitor<T,R,P> v,
P... inp)
v - The visitor to executeparam - An arbitrary input parameter for the visitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||