Interface LinkSegments
-
- All Superinterfaces:
Cloneable
,GraphEntities<LinkSegment>
,Iterable<LinkSegment>
,LongMapWrapper<LinkSegment>
,ManagedIdEntities<LinkSegment>
,MapWrapper<Long,LinkSegment>
public interface LinkSegments extends GraphEntities<LinkSegment>, ManagedIdEntities<LinkSegment>
Primary managed container for linkSegments explicitly and create them on the container via its dedicated factory class- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LinkSegments
deepClone()
Deep clone implementationLinkSegments
deepCloneWithMapping(BiConsumer<LinkSegment,LinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies createdLinkSegmentFactory
getFactory()
Factory to create instance of graph entity (for this container class)LinkSegments
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
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
-
-
-
-
Method Detail
-
getFactory
LinkSegmentFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactory
in interfaceGraphEntities<LinkSegment>
- Specified by:
getFactory
in interfaceManagedIdEntities<LinkSegment>
- Returns:
- entity factory
-
shallowClone
LinkSegments shallowClone()
shallow clone implementation- Specified by:
shallowClone
in interfaceGraphEntities<LinkSegment>
- Specified by:
shallowClone
in interfaceManagedIdEntities<LinkSegment>
- Specified by:
shallowClone
in interfaceMapWrapper<Long,LinkSegment>
- Returns:
- clone of entities
-
deepClone
LinkSegments deepClone()
Deep clone implementation- Specified by:
deepClone
in interfaceGraphEntities<LinkSegment>
- Specified by:
deepClone
in interfaceManagedIdEntities<LinkSegment>
- Returns:
- deep copy of entities
-
deepCloneWithMapping
LinkSegments deepCloneWithMapping(BiConsumer<LinkSegment,LinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMapping
in interfaceGraphEntities<LinkSegment>
- Specified by:
deepCloneWithMapping
in interfaceManagedIdEntities<LinkSegment>
- 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
-
-