IterableEntity & Iterable2Entity
IterableEntity
and Iterable2Entity
are Entities that hold a collection of modddels.
In the case of an IterableEntity
, the collection must be able to be converted to an iterable of modddels. Ex: List<M>
, Set<M>
, Map<int,M>
... where M
is the type of the modddel.
In the case of an Iterable2Entity
, the collection must be able to be converted to two iterables of modddels. Ex: Map<M1, M2>
, Map<M1, List<M2>>
... where M1
and M2
are the two modddels types.
Other than that, both IterableEntity
and Iterable2Entity
are pretty similar.
In this section, we'll cover :