Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
123456 |
- public class Number implements Comparable<Number> {
- private int i;
- public Number(int i) { this.i = i; }
- public int getValue() { return i;}
- public int compareTo(Number that) { return this.getValue() - that.getValue(); }
- }
|