Package com.spatial4j.core.io
Class PolyshapeReader.XReader
- java.lang.Object
-
- com.spatial4j.core.io.PolyshapeReader.XReader
-
- Enclosing class:
- PolyshapeReader
public static class PolyshapeReader.XReader extends Object
from Apache 2.0 licensed: https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.java
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisData()booleanisDone()booleanisEvent()intpeek()doublereadDouble()charreadKey()doublereadLat()doublereadLng()List<double[]>readPoints()List<Point>readPoints(SpatialContext ctx)
-
-
-
Constructor Detail
-
XReader
public XReader(Reader input) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readPoints
public List<Point> readPoints(SpatialContext ctx) throws IOException
- Throws:
IOException
-
readPoints
public List<double[]> readPoints() throws IOException
- Throws:
IOException
-
readLat
public double readLat() throws IOException- Throws:
IOException
-
readLng
public double readLng() throws IOException- Throws:
IOException
-
readDouble
public double readDouble() throws IOException- Throws:
IOException
-
peek
public int peek()
-
readKey
public char readKey() throws IOException- Throws:
IOException
-
isData
public boolean isData()
-
isDone
public boolean isDone()
-
isEvent
public boolean isEvent()
-
-