|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mongodb.core.geo.Polygon
public class Polygon
Simple value object to represent a Polygon.
| Constructor Summary | |
|---|---|
Polygon(Point x,
Point y,
Point z,
Point... others)
Creates a new Polygon for the given Points. |
|
| Method Summary | |
|---|---|
List<List<Double>> |
asList()
Returns the Shape as a list of usually Double or Lists of Doubles. |
boolean |
equals(Object obj)
|
String |
getCommand()
Returns the command to be used to create the $within criterion. |
int |
hashCode()
|
Iterator<Point> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Polygon(Point x,
Point y,
Point z,
Point... others)
Polygon for the given Points.
x - y - z - others - | Method Detail |
|---|
public List<List<Double>> asList()
ShapeShape as a list of usually Double or Lists of Doubles. Wildcard bound
to allow implementations to return a more concrete element type.
asList in interface Shapepublic String getCommand()
Shape
getCommand in interface Shapepublic Iterator<Point> iterator()
iterator in interface Iterable<Point>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||