Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
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(); }
- }
|