Package repast.simphony.data2
Class AbstractDataSetManager.ObjList
- java.lang.Object
-
- repast.simphony.data2.AbstractDataSetManager.ObjList
-
- All Implemented Interfaces:
Iterable<Object>
,ContextListener
,SizedIterable<Object>
- Enclosing class:
- AbstractDataSetManager
protected static class AbstractDataSetManager.ObjList extends Object implements ContextListener, SizedIterable<Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventOccured(ContextEvent ev)
Called to nofify the listener of a change to a context.Iterator<Object>
iterator()
int
size()
Gets the number of elements in the iterable.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ObjList
public ObjList(Class<?> targetType)
-
-
Method Detail
-
eventOccured
public void eventOccured(ContextEvent ev)
Description copied from interface:ContextListener
Called to nofify the listener of a change to a context.- Specified by:
eventOccured
in interfaceContextListener
- Parameters:
ev
- The event of which to notify the listener.
-
size
public int size()
Description copied from interface:SizedIterable
Gets the number of elements in the iterable.- Specified by:
size
in interfaceSizedIterable<Object>
- Returns:
- the number of elements in the iterable.
-
-