| Modifier and Type | Field and Description |
|---|---|
| public @Nullable PGpoint[] | point
These are the two points. |
| Access | Constructor and Description |
|---|---|
| public | PGlseg(double
coordinate for first point x1, double coordinate for first point y1, double coordinate for second point x2, double coordinate for second point y2)
|
| 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 line segments are identicalObject to compare with obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public @Nullable String | Returns: the PGlseg 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 |
| point | back to summary |
|---|---|
| public @Nullable PGpoint[] point These are the two points. | |
| PGlseg | back to summary |
|---|---|
public PGlseg(double x1, double y1, double x2, double y2)
| |
| PGlseg | back to summary |
|---|---|
| public PGlseg(PGpoint p1, PGpoint p2) | |
| PGlseg | back to summary |
|---|---|
public PGlseg(String s) throws SQLException
| |
| PGlseg | back to summary |
|---|---|
| public PGlseg() 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
| |