Package org.goplanit.utils.zoning
Interface OdZones
-
- All Superinterfaces:
Cloneable
,Iterable<OdZone>
,LongMapWrapper<OdZone>
,ManagedIdEntities<OdZone>
,MapWrapper<Long,OdZone>
,Zones<OdZone>
- All Known Implementing Classes:
OdZonesImpl
public interface OdZones extends Zones<OdZone>
Container class for OdZones- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OdZones
clone()
Force clone implementationdefault void
forEachOriginDestination(BiConsumer<OdZone,OdZone> consumer)
Loop over all origin destination combinations possible given the registered zones and apply the provided consumerOdZoneFactory
getFactory()
Factory to create instance of managed id entity (for this container class)-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.goplanit.utils.wrapper.LongMapWrapper
get, remove
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntities
containsKey, getManagedIdClass, recreateIds, recreateIds, reset
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, contains, findFirst, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, size, toCollection, valuesAsNewSet
-
Methods inherited from interface org.goplanit.utils.zoning.Zones
getByXmlId, getNumberOfCentroids
-
-
-
-
Method Detail
-
getFactory
OdZoneFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactory
in interfaceManagedIdEntities<OdZone>
- Returns:
- entity factory
-
clone
OdZones clone()
Force clone implementation- Specified by:
clone
in interfaceManagedIdEntities<OdZone>
- Specified by:
clone
in interfaceMapWrapper<Long,OdZone>
- Returns:
- clone of entities
-
forEachOriginDestination
default void forEachOriginDestination(BiConsumer<OdZone,OdZone> consumer)
Loop over all origin destination combinations possible given the registered zones and apply the provided consumer- Parameters:
consumer
- to apply to each od
-
-