public abstract class SingleArrayPathData extends java.lang.Object implements PathData
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.ByteBuffer |
buffer
The encoded path.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SingleArrayPathData(java.nio.ByteBuffer buffer)
Creates a decoder that will decode the path encoded in a single byte array.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRemainingCommand()
Tells whether it remains at least one command to decode.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextCommand, nextCoordinateprotected SingleArrayPathData(java.nio.ByteBuffer buffer)
buffer - the encoded path (the first available data is the first path's command)public boolean hasRemainingCommand()
PathDatahasRemainingCommand in interface PathDatatrue if, and only if, there is at least one command remaining in this path