Package ch.hslu.exercises.sw02.ex2
Class Allocation
java.lang.Object
ch.hslu.exercises.sw02.ex2.Allocation
- All Implemented Interfaces:
Comparable<Allocation>
-
Constructor Details
-
Allocation
public Allocation(long size, long startingAddress)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getStartingAddress
public long getStartingAddress() -
getSize
public long getSize() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Allocation>
-