|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.geo.Polygon
public class Polygon
Simple value object to represent a Polygon.
| Constructor Summary | |
|---|---|
Polygon(List<? extends Point> points)
Creates a new Polygon for the given Points. |
|
Polygon(Point x,
Point y,
Point z,
Point... others)
Creates a new Polygon for the given Points. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<Point> |
getPoints()
Returns all Points the Polygon is made of. |
int |
hashCode()
|
Iterator<Point> |
iterator()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Polygon(Point x,
Point y,
Point z,
Point... others)
Polygon for the given Points.
x - must not be null.y - must not be null.z - must not be null.others - public Polygon(List<? extends Point> points)
Polygon for the given Points.
points - must not be null.| Method Detail |
|---|
public List<Point> getPoints()
Points the Polygon is made of.
public Iterator<Point> iterator()
iterator in interface Iterable<Point>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||