private static class Cylinder.CylinderKey extends Shape3D.Key
Modifier and Type | Field and Description |
---|---|
(package private) int |
divisions |
(package private) double |
height |
(package private) double |
radius |
Modifier | Constructor and Description |
---|---|
private |
CylinderKey(double radius,
double height,
int divisions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public int hashCode()
hashCode
in class Shape3D.Key
public boolean equals(java.lang.Object obj)
equals
in class Shape3D.Key