org.gjt.universe
Class WormholeUndefined

java.lang.Object
  |
  +--org.gjt.universe.DBItem
        |
        +--org.gjt.universe.Wormhole
              |
              +--org.gjt.universe.WormholeUndefined
All Implemented Interfaces:
java.io.Serializable

final class WormholeUndefined
extends Wormhole

This class is used to represent a wormhole which is not defined. This is used instead of null in places where a null object can not be used.

See Also:
WormholeList

Field Summary
static WormholeID ID
          The singleton instance of this class.
static WormholeUndefined SINGLETON
           
 
Fields inherited from class org.gjt.universe.Wormhole
 
Constructor Summary
private WormholeUndefined()
           
 
Method Summary
 VectorDisplayReturn specificDisplayDebug()
          This method is used for debugging purposes and returns a display vector describing this object.
 
Methods inherited from class org.gjt.universe.Wormhole
getDiameter, getEndPoint1, getEndPoint2, getEndPointID1, getEndPointID2, getID, getIndex, getIntegrity, getIsStable, getName, hasCollapsed, isEndPoint, isIntergalactic, isOscillating, reduceIntegrity, setDiameter, setEndPointID1, setEndPointID2, setIntegrity, setIsStable
 
Methods inherited from class org.gjt.universe.DBItem
getLocation, getOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static WormholeUndefined SINGLETON

ID

public static WormholeID ID
The singleton instance of this class.

Constructor Detail

WormholeUndefined

private WormholeUndefined()
Method Detail

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()
Description copied from class: Wormhole
This method is used for debugging purposes and returns a display vector describing this object.

Overrides:
specificDisplayDebug in class Wormhole


Copyright © 2001 Universe Dev Team All Rights Reserved.