Interface ConjugateNodes
-
- All Superinterfaces:
Cloneable,GraphEntities<ConjugateNode>,Iterable<ConjugateNode>,LongMapWrapper<ConjugateNode>,ManagedGraphEntities<ConjugateNode>,ManagedIdEntities<ConjugateNode>,MapWrapper<Long,ConjugateNode>
- All Known Implementing Classes:
ConjugateNodesImpl
public interface ConjugateNodes extends ManagedGraphEntities<ConjugateNode>
Container class for primary managed nodes container and access to factory to create and register them on this instance- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateNodesdeepClone()Force clone implementationConjugateNodesdeepCloneWithMapping(BiConsumer<ConjugateNode,ConjugateNode> mapper)Deep clone implementation with mapping retained between original and copies createdConjugateNodeFactorygetFactory()Factory to create instance of graph entity (for this container class)ConjugateNodesshallowClone()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
ConjugateNodeFactory getFactory()
Factory to create instance of graph entity (for this container class)- Specified by:
getFactoryin interfaceGraphEntities<ConjugateNode>- Specified by:
getFactoryin interfaceManagedIdEntities<ConjugateNode>- Returns:
- entity factory
-
shallowClone
ConjugateNodes shallowClone()
shallow clone implementation- Specified by:
shallowClonein interfaceGraphEntities<ConjugateNode>- Specified by:
shallowClonein interfaceManagedGraphEntities<ConjugateNode>- Specified by:
shallowClonein interfaceManagedIdEntities<ConjugateNode>- Specified by:
shallowClonein interfaceMapWrapper<Long,ConjugateNode>- Returns:
- clone of entities
-
deepClone
ConjugateNodes deepClone()
Force clone implementation- Specified by:
deepClonein interfaceGraphEntities<ConjugateNode>- Specified by:
deepClonein interfaceManagedGraphEntities<ConjugateNode>- Specified by:
deepClonein interfaceManagedIdEntities<ConjugateNode>- Returns:
- clone of entities
-
deepCloneWithMapping
ConjugateNodes deepCloneWithMapping(BiConsumer<ConjugateNode,ConjugateNode> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMappingin interfaceGraphEntities<ConjugateNode>- Specified by:
deepCloneWithMappingin interfaceManagedGraphEntities<ConjugateNode>- Specified by:
deepCloneWithMappingin interfaceManagedIdEntities<ConjugateNode>- 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
-
-