public abstract class BasePlanetObject extends Object implements PlanetObject
| 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(Object o) |
PlanetModel |
getPlanetModel()
Returns the
PlanetModel provided when this shape was created. |
int |
hashCode() |
void |
write(OutputStream outputStream)
Serialize to output stream.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreadBitSet, readBoolean, readByteArray, readClass, readDouble, readHeterogeneousArray, readHomogeneousArray, readInt, readLong, readObject, readObject, readObject, readObject, readPlanetObject, readPointArray, readPolygonArray, readString, writeBitSet, writeBoolean, writeByteArray, writeClass, writeDouble, writeHeterogeneousArray, writeHeterogeneousArray, writeHomogeneousArray, writeHomogeneousArray, writeInt, writeLong, writeObject, writePlanetObject, writePointArray, writePointArray, writePolygonArray, writePolygonArray, writeStringprotected final PlanetModel planetModel
public BasePlanetObject(PlanetModel planetModel)
planetModel - is the planet model.public PlanetModel getPlanetModel()
PlanetObjectPlanetModel provided when this shape was created.getPlanetModel in interface PlanetObjectpublic void write(OutputStream outputStream) throws IOException
SerializableObjectwrite in interface SerializableObjectoutputStream - is the output stream to write to.IOExceptionCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.