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 ConnectoidSegments
deepClone()
Deep clone implementationConnectoidSegments
deepCloneWithMapping(BiConsumer<ConnectoidSegment,ConnectoidSegment> mapper)
Deep clone implementation with mapping retained between original and copies createdConnectoidSegmentFactory
getFactory()
Factory to create instance of graph entity (for this container class)ConnectoidSegments
shallowClone()
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:
getFactory
in interfaceGraphEntities<ConnectoidSegment>
- Returns:
- entity factory
-
shallowClone
ConnectoidSegments shallowClone()
shallow clone implementation- Specified by:
shallowClone
in interfaceGraphEntities<ConnectoidSegment>
- Specified by:
shallowClone
in interfaceMapWrapper<Long,ConnectoidSegment>
- Returns:
- clone of entities
-
deepClone
ConnectoidSegments deepClone()
Deep clone implementation- Specified by:
deepClone
in 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:
deepCloneWithMapping
in 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
-
-