| 1 | <?php |
||
| 15 | class TRow |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | public $index; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | public $mini; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var int |
||
| 29 | */ |
||
| 30 | public $maxi; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var int |
||
| 34 | */ |
||
| 35 | public $nent; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * TRow constructor. |
||
| 39 | * |
||
| 40 | * @param int $index |
||
| 41 | */ |
||
| 42 | public function __construct(int $index) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return int |
||
| 52 | */ |
||
| 53 | public function span(): int |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return int |
||
| 60 | */ |
||
| 61 | public function nhole(): int |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param TRow $a |
||
| 68 | * @param TRow $b |
||
| 69 | * |
||
| 70 | * @return int |
||
| 71 | */ |
||
| 72 | public static function compare(self $a, self $b): int |
||
| 83 | } |
||
| 84 |