Package org.goplanit.utils.graph
Interface ConjugateVertices
-
- All Superinterfaces:
Cloneable,GraphEntities<ConjugateVertex>,Iterable<ConjugateVertex>,LongMapWrapper<ConjugateVertex>,MapWrapper<Long,ConjugateVertex>
public interface ConjugateVertices extends GraphEntities<ConjugateVertex>
Container class for conjugate vertices and creating instances within this container via factory.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateVerticesdeepClone()deep clone conjugate verticesConjugateVerticesdeepCloneWithMapping(BiConsumer<ConjugateVertex,ConjugateVertex> mapper)Deep clone implementation with mapping retained between original and copies createdConjugateVertexFactorygetFactory()Collect the conjugate vertex factory to use for creating instancesConjugateVerticesshallowClone()shallow clone conjugate vertices-
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
ConjugateVertexFactory getFactory()
Collect the conjugate vertex factory to use for creating instances- Specified by:
getFactoryin interfaceGraphEntities<ConjugateVertex>- Returns:
- conjugate vertexFactory to create conjugate edges for this container
-
shallowClone
ConjugateVertices shallowClone()
shallow clone conjugate vertices- Specified by:
shallowClonein interfaceGraphEntities<ConjugateVertex>- Specified by:
shallowClonein interfaceMapWrapper<Long,ConjugateVertex>- Returns:
- clone of entities
-
deepClone
ConjugateVertices deepClone()
deep clone conjugate vertices- Specified by:
deepClonein interfaceGraphEntities<ConjugateVertex>- Returns:
- deep copy of entities
-
deepCloneWithMapping
ConjugateVertices deepCloneWithMapping(BiConsumer<ConjugateVertex,ConjugateVertex> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMappingin interfaceGraphEntities<ConjugateVertex>- 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
-
-