operator >>> абстрактный метод
- int shiftAmount
Побитовый беззнаковый сдвиг вправо на shiftAmount бит.
Младшие shiftAmount бит отбрасываются, оставшиеся биты (если есть) сдвигаются вниз, а на место старших битов добавляются нулевые биты.
Значение shiftAmount должно быть неотрицательным.
Пример:
print((3 >>> 1).toRadixString(2)); // 0011 -> 0001 print((9 >>> 2).toRadixString(2)); // 1001 -> 0010 print(((-9) >>> 2).toRadixString(2)); // 111...1011 -> 001...1110 (> 0)
Реализация
int operator >>>(int shiftAmount);
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-core/int/operator_triple_shift.html