Serializable
, Cloneable
public class Dimension2DDouble extends Dimension2D implements Serializable
Constructor | Description |
---|---|
Dimension2DDouble() |
Default constructor.
|
Dimension2DDouble(double width,
double height) |
Main constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
double |
getHeight() |
|
double |
getWidth() |
|
int |
hashCode() |
|
void |
setSize(double w,
double h) |
|
String |
toString() |
clone, setSize
public Dimension2DDouble()
public Dimension2DDouble(double width, double height)
width
- initial widthheight
- initial heightpublic double getWidth()
getWidth
in class Dimension2D
public double getHeight()
getHeight
in class Dimension2D
public void setSize(double w, double h)
setSize
in class Dimension2D
Copyright © 2018 Apache Software Foundation. All rights reserved.