Interface CentroidVertices
-
- All Superinterfaces:
Cloneable,GraphEntities<CentroidVertex>,Iterable<CentroidVertex>,LongMapWrapper<CentroidVertex>,MapWrapper<Long,CentroidVertex>
- All Known Implementing Classes:
CentroidVerticesImpl
public interface CentroidVertices extends GraphEntities<CentroidVertex>
Container class for centroid vertices and creating instances within this container via factory.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CentroidVerticesdeepClone()deep clone verticesCentroidVerticesdeepCloneWithMapping(BiConsumer<CentroidVertex,CentroidVertex> mapper)Deep clone implementation with mapping retained between original and copies createdCentroidVertexFactorygetFactory()Collect the vertex factory to use for creating instancesCentroidVerticesshallowClone()shallow clone 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
CentroidVertexFactory getFactory()
Collect the vertex factory to use for creating instances- Specified by:
getFactoryin interfaceGraphEntities<CentroidVertex>- Returns:
- vertexFactory to create edges for this container
-
shallowClone
CentroidVertices shallowClone()
shallow clone vertices- Specified by:
shallowClonein interfaceGraphEntities<CentroidVertex>- Specified by:
shallowClonein interfaceMapWrapper<Long,CentroidVertex>- Returns:
- clone of entities
-
deepClone
CentroidVertices deepClone()
deep clone vertices- Specified by:
deepClonein interfaceGraphEntities<CentroidVertex>- Returns:
- deep copy of entities
-
deepCloneWithMapping
CentroidVertices deepCloneWithMapping(BiConsumer<CentroidVertex,CentroidVertex> mapper)
Deep clone implementation with mapping retained between original and copies created- Specified by:
deepCloneWithMappingin interfaceGraphEntities<CentroidVertex>- 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
-
-