(Ref ref)
| 18 | |
| 19 | public class Ref extends ARef implements IFn, Comparable<Ref>, IRef{ |
| 20 | public int compareTo(Ref ref) { |
| 21 | if(this.id == ref.id) |
| 22 | return 0; |
| 23 | else if(this.id < ref.id) |
| 24 | return -1; |
| 25 | else |
| 26 | return 1; |
| 27 | } |
| 28 | |
| 29 | public int getMinHistory(){ |
| 30 | return minHistory; |