Interface ConnectoidEdges
-
- All Superinterfaces:
Cloneable
,GraphEntities<ConnectoidEdge>
,Iterable<ConnectoidEdge>
,LongMapWrapper<ConnectoidEdge>
,MapWrapper<Long,ConnectoidEdge>
- All Known Implementing Classes:
ConnectoidEdgesImpl
public interface ConnectoidEdges extends GraphEntities<ConnectoidEdge>
Container to register and manager connectoid edges.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectoidEdges
deepClone()
Deep clone implementationConnectoidEdges
deepCloneWithMapping(BiConsumer<ConnectoidEdge,ConnectoidEdge> mapper)
Deep clone implementation with mapping retained between original and copies createdConnectoidEdgeFactory
getFactory()
Factory to create instance of graph entity (for this container class)ConnectoidEdges
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
ConnectoidEdgeFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactory
in interfaceGraphEntities<ConnectoidEdge>
- Returns:
- entity factory
-
shallowClone
ConnectoidEdges shallowClone()
shallow clone implementation- Specified by:
shallowClone
in interfaceGraphEntities<ConnectoidEdge>
- Specified by:
shallowClone
in interfaceMapWrapper<Long,ConnectoidEdge>
- Returns:
- clone of entities
-
deepClone
ConnectoidEdges deepClone()
Deep clone implementation- Specified by:
deepClone
in interfaceGraphEntities<ConnectoidEdge>
- Returns:
- deep copy of entities
-
deepCloneWithMapping
ConnectoidEdges deepCloneWithMapping(BiConsumer<ConnectoidEdge,ConnectoidEdge> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMapping
in interfaceGraphEntities<ConnectoidEdge>
- 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
-
-