OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 part of dart.core_patch; | 5 part of dart.core_patch; |
6 | 6 |
7 abstract class _IntBase implements int { | 7 abstract class _IntBase implements int { |
8 const _IntBase(); | 8 const _IntBase(); |
9 | 9 |
10 bool get isNaN => false; | 10 bool get isNaN => false; |
11 | 11 |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 bool _compareEqFromInteger(other) => other._toMint() == this; | 601 bool _compareEqFromInteger(other) => other._toMint() == this; |
602 | 602 |
603 bool _compareLtFromInteger(other) => other._toMint() < this; | 603 bool _compareLtFromInteger(other) => other._toMint() < this; |
604 | 604 |
605 bool _compareLeFromInteger(other) => other._toMint() <= this; | 605 bool _compareLeFromInteger(other) => other._toMint() <= this; |
606 | 606 |
607 bool _compareGtFromInteger(other) => other._toMint() > this; | 607 bool _compareGtFromInteger(other) => other._toMint() > this; |
608 | 608 |
609 bool _compareGeFromInteger(other) => other._toMint() >= this; | 609 bool _compareGeFromInteger(other) => other._toMint() >= this; |
610 } | 610 } |
OLD | NEW |