Package org.goplanit.utils.zoning
Interface TransferZoneGroups
-
- All Superinterfaces:
EventListener,EventListener,Iterable<TransferZoneGroup>,LongMapWrapper<TransferZoneGroup>,ManagedIdEntities<TransferZoneGroup>,MapWrapper<Long,TransferZoneGroup>,ZoningModifierListener
- All Known Implementing Classes:
TransferZoneGroupsImpl
public interface TransferZoneGroups extends ManagedIdEntities<TransferZoneGroup>, ZoningModifierListener
A Container for transfer zone groups which also acts as a factory for creating new transfer zone groups- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransferZoneGroupsdeepClone()Deep clone implementationTransferZoneGroupsdeepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTransferZoneGroupFactorygetFactory()Factory to create instance of managed id entity (for this container class)TransferZoneGroupsshallowClone()Shallow clone implementation-
Methods inherited from interface org.goplanit.utils.event.EventListener
getKnownSupportedEventTypes, hasKnownSupportedEventTypes
-
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.modifier.event.ZoningModifierListener
onZoningModifierEvent
-
-
-
-
Method Detail
-
getFactory
TransferZoneGroupFactory getFactory()
Factory to create instance of managed id entity (for this container class)- Specified by:
getFactoryin interfaceManagedIdEntities<TransferZoneGroup>- Returns:
- entity factory
-
shallowClone
TransferZoneGroups shallowClone()
Shallow clone implementation- Specified by:
shallowClonein interfaceManagedIdEntities<TransferZoneGroup>- Specified by:
shallowClonein interfaceMapWrapper<Long,TransferZoneGroup>- Returns:
- clone of entities
-
deepClone
TransferZoneGroups deepClone()
Deep clone implementation- Specified by:
deepClonein interfaceManagedIdEntities<TransferZoneGroup>- Returns:
- deep copy of entities
-
deepCloneWithMapping
TransferZoneGroups deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapper- Specified by:
deepCloneWithMappingin interfaceManagedIdEntities<TransferZoneGroup>- Parameters:
mapper- to apply to each mapping between original and copy- Returns:
- copy
-
-