Class PathImpl
java.lang.Object
de.bsommerfeld.pathetic.engine.result.PathImpl
- All Implemented Interfaces:
de.bsommerfeld.pathetic.api.pathing.result.Path,Iterable<de.bsommerfeld.pathetic.api.wrapper.PathPosition>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<de.bsommerfeld.pathetic.api.wrapper.PathPosition>collect()voidde.bsommerfeld.pathetic.api.wrapper.PathPositiongetEnd()de.bsommerfeld.pathetic.api.wrapper.PathPositiongetStart()Iterator<de.bsommerfeld.pathetic.api.wrapper.PathPosition>iterator()intlength()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
spliterator
-
Constructor Details
-
PathImpl
public PathImpl(de.bsommerfeld.pathetic.api.wrapper.PathPosition start, de.bsommerfeld.pathetic.api.wrapper.PathPosition end, Iterable<de.bsommerfeld.pathetic.api.wrapper.PathPosition> positions)
-
-
Method Details
-
getStart
public de.bsommerfeld.pathetic.api.wrapper.PathPosition getStart()- Specified by:
getStartin interfacede.bsommerfeld.pathetic.api.pathing.result.Path
-
getEnd
public de.bsommerfeld.pathetic.api.wrapper.PathPosition getEnd()- Specified by:
getEndin interfacede.bsommerfeld.pathetic.api.pathing.result.Path
-
iterator
-
forEach
-
length
public int length()- Specified by:
lengthin interfacede.bsommerfeld.pathetic.api.pathing.result.Path
-
collect
- Specified by:
collectin interfacede.bsommerfeld.pathetic.api.pathing.result.Path
-