Package org.elasticsearch.geometry
Class GeometryCollection<G extends Geometry>
- java.lang.Object
-
- org.elasticsearch.geometry.GeometryCollection<G>
-
- Direct Known Subclasses:
MultiLine,MultiPoint,MultiPolygon
public class GeometryCollection<G extends Geometry> extends Object implements Geometry, Iterable<G>
Collection of arbitrary geometry classes
-
-
Field Summary
Fields Modifier and Type Field Description static GeometryCollection<Geometry>EMPTY
-
Constructor Summary
Constructors Constructor Description GeometryCollection()GeometryCollection(List<G> shapes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Gget(int i)inthashCode()booleanhasZ()booleanisEmpty()Iterator<G>iterator()intsize()StringtoString()ShapeTypetype()<T,E extends Exception>
Tvisit(GeometryVisitor<T,E> visitor)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
EMPTY
public static final GeometryCollection<Geometry> EMPTY
-
-