hypercast.DT
Class DT_AddressPair

java.lang.Object
  |
  +--hypercast.DT.DT_AddressPair
All Implemented Interfaces:
I_AddressPair

public final class DT_AddressPair
extends java.lang.Object
implements I_AddressPair

A physical & logical address pair for the Delaunay triangulation. It is immutable.


Method Summary
 boolean equals(java.lang.Object o)
           
 hypercast.DT.DT_LogicalAddress getDTLogicalAddress()
          Same as getLogicalAddress(), except the returned object type does not need to be coerced to type DT_LogicalAddress.
 hypercast.I_LogicalAddress getLogicalAddress()
          return the logical address
 hypercast.I_PhysicalAddress getPhysicalAddress()
          return the physical address
 java.lang.String toString()
          Returns "PA:" + PA.toString() + " LA:" + LA.toString()
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPhysicalAddress

public hypercast.I_PhysicalAddress getPhysicalAddress()
return the physical address

Specified by:
getPhysicalAddress in interface I_AddressPair

getLogicalAddress

public hypercast.I_LogicalAddress getLogicalAddress()
return the logical address

Specified by:
getLogicalAddress in interface I_AddressPair

getDTLogicalAddress

public hypercast.DT.DT_LogicalAddress getDTLogicalAddress()
Same as getLogicalAddress(), except the returned object type does not need to be coerced to type DT_LogicalAddress.


toString

public java.lang.String toString()
Returns "PA:" + PA.toString() + " LA:" + LA.toString()

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object