com.joanju.cg.core
Class InstructionAddress

java.lang.Object
  extended by com.joanju.cg.core.InstructionAddress
All Implemented Interfaces:
java.lang.Comparable

public class InstructionAddress
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
InstructionAddress(int cuid, int address)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String encode()
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
static long longAddress(int cuid, int address)
          Two 4 byte ints stored in one 8 byte long.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionAddress

public InstructionAddress(int cuid,
                          int address)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

encode

public java.lang.String encode()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

longAddress

public static long longAddress(int cuid,
                               int address)
Two 4 byte ints stored in one 8 byte long.



Copyright © 2008 Joanju Software. All Rights Reserved.