AnyLogic
Expand
Font size
Direct Known Subclasses:
RoadEnd

public class PathEnd<T>
extends Object

Constructor Summary

ConstructorDescription
PathEnd(T path, PathEndType type) 

Method Summary

Modifier and TypeMethodDescription
TgetPath()
Returns the path of this PathEnd
PathEndTypegetType()
Returns the type of the end of this path.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

PathEnd

public PathEnd(T path,
 PathEndType type)

Method Details

getPath

public T getPath()
Returns the path of this PathEnd

getType

public PathEndType getType()
Returns the type of the end of this path. Either PathEndType.BEGIN or PathEndType.END
Returns: