Demonstration Java model classes.
Interface Summary Interface Description BodyImplemented by all heavenly bodies. HasSatellites<S extends Satellite<?>>Implemented by heavenly bodies that can have other heavenly bodies as satellites. Satellite<P extends HasSatellites<?>>Implemented by heavenly bodies that can orbit around other heavenly bodies.
Class Summary Class Description AbstractBodySupport superclass for
AbstractHasSatellites<S extends Satellite<?>>Support superclass for
MoonRepresents a moon of a planet. PlanetRepresents a planet. StarRepresents a star.