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 TransferZones
deepClone()
Deep clone implementationTransferZones
deepCloneWithMapping(BiConsumer<TransferZone,TransferZone> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTransferZoneFactory
getFactory()
Factory to create instance of managed id entity (for this container class)TransferZones
shallowClone()
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:
getFactory
in interfaceManagedIdEntities<TransferZone>
- Returns:
- entity factory
-
shallowClone
TransferZones shallowClone()
Shallow clone implementation- Specified by:
shallowClone
in interfaceManagedIdEntities<TransferZone>
- Specified by:
shallowClone
in interfaceMapWrapper<Long,TransferZone>
- Specified by:
shallowClone
in interfaceZones<TransferZone>
- Returns:
- clone of entities
-
deepClone
TransferZones deepClone()
Deep clone implementation- Specified by:
deepClone
in interfaceManagedIdEntities<TransferZone>
- Specified by:
deepClone
in 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:
deepCloneWithMapping
in interfaceManagedIdEntities<TransferZone>
- Specified by:
deepCloneWithMapping
in interfaceZones<TransferZone>
- Parameters:
mapper
- to apply to each mapping between original and copy- Returns:
- copy
-
-