|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Container
A wrapper around 'container-like' structures. A 'container-like' structure contains a certain number of objects, each of which has a particular type. Examples of 'container-like' objects include arrays and java.util.Collections.
| Method Summary | |
|---|---|
java.lang.Class |
getContainedType()
Returns the type of the elements that are contained in this container. |
java.util.Iterator |
getIterator()
Exposes an iterator over the contents of the container. |
| Methods inherited from interface net.sf.morph.wrap.Wrapper |
|---|
getWrappedObject |
| Method Detail |
|---|
java.lang.Class getContainedType()
throws WrapperException
ints, Integer.TYPE should be returned.
clazz - the container's type
WrapperException - if container is null or
java.util.Iterator getIterator()
throws WrapperException
WrapperException - if container is null or
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||