Interface ConnectoidSegments
-
- All Superinterfaces:
Cloneable,GraphEntities<ConnectoidSegment>,Iterable<ConnectoidSegment>,LongMapWrapper<ConnectoidSegment>,MapWrapper<Long,ConnectoidSegment>
- All Known Implementing Classes:
ConnectoidSegmentsImpl
public interface ConnectoidSegments extends GraphEntities<ConnectoidSegment>
Container to register and manage connectoid segments that define the points of access for zones regarding infrastructure network (layer)- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectoidSegmentsdeepClone()Deep clone implementationConnectoidSegmentsdeepCloneWithMapping(BiConsumer<ConnectoidSegment,ConnectoidSegment> mapper)Deep clone implementation with mapping retained between original and copies createdConnectoidSegmentFactorygetFactory()Factory to create instance of graph entity (for this container class)ConnectoidSegmentsshallowClone()shallow clone implementation-
Methods inherited from interface org.goplanit.utils.graph.GraphEntities
forEachMatchingIdIn, getByExternalId, getByXmlId
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.goplanit.utils.wrapper.LongMapWrapper
containsKey, get, remove
-
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
-
-
-
-
Method Detail
-
getFactory
ConnectoidSegmentFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactoryin interfaceGraphEntities<ConnectoidSegment>- Returns:
- entity factory
-
shallowClone
ConnectoidSegments shallowClone()
shallow clone implementation- Specified by:
shallowClonein interfaceGraphEntities<ConnectoidSegment>- Specified by:
shallowClonein interfaceMapWrapper<Long,ConnectoidSegment>- Returns:
- clone of entities
-
deepClone
ConnectoidSegments deepClone()
Deep clone implementation- Specified by:
deepClonein interfaceGraphEntities<ConnectoidSegment>- Returns:
- deep copy of entities
-
deepCloneWithMapping
ConnectoidSegments deepCloneWithMapping(BiConsumer<ConnectoidSegment,ConnectoidSegment> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMappingin interfaceGraphEntities<ConnectoidSegment>- Parameters:
mapper- that is applied to each deep copy entity mapping pair of origin and copy- Returns:
- pair with deep copy of entities and mapping from original entities to deep copies of these entities
-
-