Package org.goplanit.path
Class ManagedDirectedPathFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<ManagedDirectedPath>
-
- org.goplanit.path.ManagedDirectedPathFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<ManagedDirectedPath>,DirectedPathFactory<ManagedDirectedPath>,ManagedDirectedPathFactory
- Direct Known Subclasses:
ContainerisedDirectedPathFactoryImpl
public class ManagedDirectedPathFactoryImpl extends ManagedIdEntityFactoryImpl<ManagedDirectedPath> implements ManagedDirectedPathFactory
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 ManagedDirectedPathFactoryImpl(IdGroupingToken groupIdToken)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedDirectedPathcreateNew()Create new pathManagedDirectedPathcreateNew(Deque<? extends EdgeSegment> edgeSegments)Create new path-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueDeepCopyOf, createUniqueShallowCopyOf, 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
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Constructor Detail
-
ManagedDirectedPathFactoryImpl
public ManagedDirectedPathFactoryImpl(IdGroupingToken groupIdToken)
Constructor- Parameters:
groupIdToken- to use for creating element ids
-
-
Method Detail
-
createNew
public ManagedDirectedPath createNew()
Create new path- Specified by:
createNewin interfaceDirectedPathFactory<ManagedDirectedPath>- Specified by:
createNewin interfaceManagedDirectedPathFactory- Returns:
- the created path
-
createNew
public ManagedDirectedPath createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path- Specified by:
createNewin interfaceDirectedPathFactory<ManagedDirectedPath>- Specified by:
createNewin interfaceManagedDirectedPathFactory- Parameters:
edgeSegments- of the path- Returns:
- the created path
-
-