Package org.goplanit.path
Class DirectedPathFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<DirectedPath>
-
- org.goplanit.path.DirectedPathFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<DirectedPath>
,DirectedPathFactory
- Direct Known Subclasses:
ContainerisedDirectedPathFactoryImpl
public class DirectedPathFactoryImpl extends ManagedIdEntityFactoryImpl<DirectedPath> implements DirectedPathFactory
Factory for creating directed paths on container- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Constructor Description DirectedPathFactoryImpl(IdGroupingToken groupIdToken)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectedPath
createNew()
Create new pathDirectedPath
createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Constructor Detail
-
DirectedPathFactoryImpl
public DirectedPathFactoryImpl(IdGroupingToken groupIdToken)
Constructor- Parameters:
groupIdToken
- to use for creating element ids
-
-
Method Detail
-
createNew
public DirectedPath createNew()
Create new path- Specified by:
createNew
in interfaceDirectedPathFactory
- Returns:
- the created path
-
createNew
public DirectedPath createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path- Specified by:
createNew
in interfaceDirectedPathFactory
- Parameters:
edgeSegments
- of the path- Returns:
- the created path
-
-