public class DBcircle extends DBobject implements Serializable, Cloneable
| 限定符和类型 | 字段和说明 |
|---|---|
@Nullable DBpoint |
center
This is the center point.
|
double |
radius
This is the radius.
|
| 构造器和说明 |
|---|
DBcircle()
This constructor is used by the driver.
|
DBcircle(DBpoint c,
double r) |
DBcircle(double x,
double y,
double r) |
DBcircle(String s) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone()
This must be overridden to allow the object to be cloned.
|
boolean |
equals(@Nullable Object obj)
This must be overridden to allow comparisons of objects.
|
@Nullable String |
getValue()
This must be overridden, to return the value of the object, in the form required by
com.xugu.
|
int |
hashCode()
Compute hash.
|
void |
setValue(@Nullable String s)
This method sets the value of this object.
|
public @Nullable DBpoint center
public double radius
public DBcircle(double x,
double y,
double r)
x - coordinate of centery - coordinate of centerr - radius of circlepublic DBcircle(DBpoint c, double r)
c - DBpoint describing the circle's centerr - radius of circlepublic DBcircle(String s) throws SQLException
s - definition of the circle in Xugu's syntax.SQLException - on conversion failurepublic DBcircle()
public void setValue(@Nullable String s) throws SQLException
DBobjectsetValue 在类中 DBobjects - definition of the circle in Xugu's syntax.SQLException - on conversion failurepublic boolean equals(@Nullable Object obj)
DBobjectpublic int hashCode()
DBobjecthashCode 在类中 DBobjectObjects.hashCode(Object)public Object clone() throws CloneNotSupportedException
DBobjectclone 在类中 DBobjectCloneNotSupportedExceptionCopyright © 2025. All rights reserved.