public abstract class BasePlanetObject
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected PlanetModel |
planetModel
This is the planet model embedded in all objects derived from this
class.
|
| Constructor and Description |
|---|
BasePlanetObject(PlanetModel planetModel)
Constructor creating class instance given a planet model.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
PlanetModel |
getPlanetModel()
Returns the
PlanetModel provided when this shape was created. |
int |
hashCode() |
protected final PlanetModel planetModel
public BasePlanetObject(PlanetModel planetModel)
planetModel - is the planet model.public PlanetModel getPlanetModel()
PlanetModel provided when this shape was created.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2000–2017 The Apache Software Foundation. All rights reserved.