edu.virginia.cs.mng.hypercast.DT
Class DT_AddressPair
java.lang.Object
|
+--edu.virginia.cs.mng.hypercast.DT.DT_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.
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
PA
private I_PhysicalAddress PA
LA
private DT_LogicalAddress LA
DT_AddressPair
DT_AddressPair(I_PhysicalAddress pa,
DT_LogicalAddress la)
getPhysicalAddress
public I_PhysicalAddress getPhysicalAddress()
- return the physical address
- Specified by:
- getPhysicalAddress in interface I_AddressPair
getLogicalAddress
public I_LogicalAddress getLogicalAddress()
- return the logical address
- Specified by:
- getLogicalAddress in interface I_AddressPair
getDTLogicalAddress
public 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