Package org.goplanit.utils.zoning
Interface TransferZones
-
- All Superinterfaces:
Iterable<TransferZone>,LongMapWrapper<TransferZone>,ManagedIdEntities<TransferZone>,MapWrapper<Long,TransferZone>,Zones<TransferZone>
- All Known Implementing Classes:
TransferZonesImpl
public interface TransferZones extends Zones<TransferZone>
Container class for TransferZone instances- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransferZonesdeepClone()Deep clone implementationTransferZonesdeepCloneWithMapping(BiConsumer<TransferZone,TransferZone> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTransferZoneFactorygetFactory()Factory to create instance of managed id entity (for this container class)TransferZonesshallowClone()Shallow clone implementation-
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, groupBy, recreateIds, recreateIds, reset, streamSortedBy
-
Methods inherited from interface org.goplanit.utils.wrapper.MapWrapper
addAll, clear, containsValue, firstMatch, forEachIn, get, getFirst, getKeyByValue, isEmpty, register, remove, removeAll, removeIf, size, stream, streamSorted, toCollection, toMap, valuesAsNewSet
-
Methods inherited from interface org.goplanit.utils.zoning.Zones
getByXmlId, getNumberOfCentroids
-
-
-
-
Method Detail
-
getFactory
TransferZoneFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactoryin interfaceManagedIdEntities<TransferZone>- Returns:
- entity factory
-
shallowClone
TransferZones shallowClone()
Shallow clone implementation- Specified by:
shallowClonein interfaceManagedIdEntities<TransferZone>- Specified by:
shallowClonein interfaceMapWrapper<Long,TransferZone>- Specified by:
shallowClonein interfaceZones<TransferZone>- Returns:
- clone of entities
-
deepClone
TransferZones deepClone()
Deep clone implementation- Specified by:
deepClonein interfaceManagedIdEntities<TransferZone>- Specified by:
deepClonein interfaceZones<TransferZone>- Returns:
- deep copy of entities
-
deepCloneWithMapping
TransferZones deepCloneWithMapping(BiConsumer<TransferZone,TransferZone> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapper- Specified by:
deepCloneWithMappingin interfaceManagedIdEntities<TransferZone>- Specified by:
deepCloneWithMappingin interfaceZones<TransferZone>- Parameters:
mapper- to apply to each mapping between original and copy- Returns:
- copy
-
-