| Modifier and Type | Field and Description |
|---|---|
| public @Nullable PGpoint[] | points
The points defining the polygon. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides org. This must be overridden to allow the object to be cloned. |
| public boolean | Returns: true if the two polygons are identicalObject to compare with obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public @Nullable String | Returns: the PGpolygon in the syntax expected by org.postgresqlOverrides org. This must be overridden, to return the value of the object, in the form required by org.postgresql. |
| public int | |
| public void |
| points | back to summary |
|---|---|
| public @Nullable PGpoint[] points The points defining the polygon. | |
| PGpolygon | back to summary |
|---|---|
| public PGpolygon(PGpoint[] points) Creates a polygon using an array of PGpoints.
| |
| PGpolygon | back to summary |
|---|---|
public PGpolygon(String s) throws SQLException
| |
| PGpolygon | back to summary |
|---|---|
| public PGpolygon() Required by the driver. | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides org. Doc from org. This must be overridden to allow the object to be cloned.
| |
| equals | back to summary |
|---|---|
| public boolean equals(@Nullable Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getValue | back to summary |
|---|---|
| public @Nullable String getValue() Overrides org. Doc from org. This must be overridden, to return the value of the object, in the form required by org.postgresql. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from org. Compute hash. As equals() use only value. Return the same hash for the same value.
| |
| setValue | back to summary |
|---|---|
public void setValue(@Nullable String s) throws SQLException
| |