Interface ConjugateLinkSegments
-
- All Superinterfaces:
Cloneable
,GraphEntities<ConjugateLinkSegment>
,Iterable<ConjugateLinkSegment>
,LongMapWrapper<ConjugateLinkSegment>
,ManagedGraphEntities<ConjugateLinkSegment>
,ManagedIdEntities<ConjugateLinkSegment>
,MapWrapper<Long,ConjugateLinkSegment>
- All Known Implementing Classes:
ConjugateLinkSegmentsImpl
public interface ConjugateLinkSegments extends ManagedGraphEntities<ConjugateLinkSegment>
Primary managed container for conjugate 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 ConjugateLinkSegments
deepClone()
Force clone implementationConjugateLinkSegments
deepCloneWithMapping(BiConsumer<ConjugateLinkSegment,ConjugateLinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies createdConjugateLinkSegmentFactory
getFactory()
Factory to create instance of graph entity (for this container class)ConjugateLinkSegments
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
ConjugateLinkSegmentFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactory
in interfaceGraphEntities<ConjugateLinkSegment>
- Specified by:
getFactory
in interfaceManagedIdEntities<ConjugateLinkSegment>
- Returns:
- entity factory
-
shallowClone
ConjugateLinkSegments shallowClone()
shallow clone implementation- Specified by:
shallowClone
in interfaceGraphEntities<ConjugateLinkSegment>
- Specified by:
shallowClone
in interfaceManagedGraphEntities<ConjugateLinkSegment>
- Specified by:
shallowClone
in interfaceManagedIdEntities<ConjugateLinkSegment>
- Specified by:
shallowClone
in interfaceMapWrapper<Long,ConjugateLinkSegment>
- Returns:
- clone of entities
-
deepClone
ConjugateLinkSegments deepClone()
Force clone implementation- Specified by:
deepClone
in interfaceGraphEntities<ConjugateLinkSegment>
- Specified by:
deepClone
in interfaceManagedGraphEntities<ConjugateLinkSegment>
- Specified by:
deepClone
in interfaceManagedIdEntities<ConjugateLinkSegment>
- Returns:
- clone of entities
-
deepCloneWithMapping
ConjugateLinkSegments deepCloneWithMapping(BiConsumer<ConjugateLinkSegment,ConjugateLinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMapping
in interfaceGraphEntities<ConjugateLinkSegment>
- Specified by:
deepCloneWithMapping
in interfaceManagedGraphEntities<ConjugateLinkSegment>
- Specified by:
deepCloneWithMapping
in interfaceManagedIdEntities<ConjugateLinkSegment>
- 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
-
-