OS_PRODUCT_TYPE extension type enum

on
Implemented types

Constructors

OS_PRODUCT_TYPE(int _)
const

Properties

bitLength int
Returns the minimum number of bits required to store this integer.
no setterinherited
hashCode int
Returns a hash code for a numerical value.
no setterinherited
isEven bool
Returns true if and only if this integer is even.
no setterinherited
isFinite bool
Whether this number is finite.
no setterinherited
isInfinite bool
Whether this number is positive infinity or negative infinity.
no setterinherited
isNaN bool
Whether this number is a Not-a-Number value.
no setterinherited
isNegative bool
Whether this number is negative.
no setterinherited
isOdd bool
Returns true if and only if this integer is odd.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign int
Returns the sign of this integer.
no setterinherited

Methods

abs() int
Returns the absolute value of this integer.
inherited
ceil() int
Returns this.
inherited
ceilToDouble() double
Returns this.toDouble().
inherited
clamp(num lowerLimit, num upperLimit) num
Returns this num clamped to be in the range lowerLimit-upperLimit.
inherited
compareTo(num other) int
Compares this to other.
inherited
floor() int
Returns this.
inherited
floorToDouble() double
Returns this.toDouble().
inherited
gcd(int other) int
Returns the greatest common divisor of this integer and other.
inherited
modInverse(int modulus) int
Returns the modular multiplicative inverse of this integer modulo modulus.
inherited
modPow(int exponent, int modulus) int
Returns this integer to the power of exponent modulo modulus.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remainder(num other) num
The remainder of the truncating division of this by other.
inherited
round() int
Returns this.
inherited
roundToDouble() double
Returns this.toDouble().
inherited
toDouble() double
This number as a double.
inherited
toInt() int
Truncates this num to an integer and returns the result as an int.
inherited
toRadixString(int radix) String
Converts this to a string representation in the given radix.
inherited
toSigned(int width) int
Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
inherited
toString() String
Returns a string representation of this integer.
inherited
toStringAsExponential([int? fractionDigits]) String
An exponential string-representation of this number.
inherited
toStringAsFixed(int fractionDigits) String
A decimal-point string-representation of this number.
inherited
toStringAsPrecision(int precision) String
A string representation with precision significant digits.
inherited
toUnsigned(int width) int
Returns the least significant width bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
inherited
truncate() int
Returns this.
inherited
truncateToDouble() double
Returns this.toDouble().
inherited

Operators

operator %(num other) num
Euclidean modulo of this number by other.
inherited
operator &(int other) int
Bit-wise and operator.
inherited
operator *(num other) num
Multiplies this number by other.
inherited
operator +(num other) num
Adds other to this number.
inherited
operator -(num other) num
Subtracts other from this number.
inherited
operator /(num other) double
Divides this number by other.
inherited
operator <(num other) bool
Whether this number is numerically smaller than other.
inherited
operator <<(int shiftAmount) int
Shift the bits of this integer to the left by shiftAmount.
inherited
operator <=(num other) bool
Whether this number is numerically smaller than or equal to other.
inherited
operator ==(Object other) bool
Test whether this value is numerically equal to other.
inherited
operator >(num other) bool
Whether this number is numerically greater than other.
inherited
operator >=(num other) bool
Whether this number is numerically greater than or equal to other.
inherited
operator >>(int shiftAmount) int
Shift the bits of this integer to the right by shiftAmount.
inherited
operator >>>(int shiftAmount) int
Bitwise unsigned right shift by shiftAmount bits.
inherited
operator ^(int other) int
Bit-wise exclusive-or operator.
inherited
operator unary-() int
Return the negative value of this integer.
inherited
operator |(int other) int
Bit-wise or operator.
inherited
operator ~() int
The bit-wise negate operator.
inherited
operator ~/(num other) int
Truncating division operator.
inherited

Constants

PRODUCT_BUSINESS → const int
PRODUCT_BUSINESS_N → const int
PRODUCT_CLUSTER_SERVER → const int
PRODUCT_CLUSTER_SERVER_V → const int
PRODUCT_CORE → const int
PRODUCT_CORE_COUNTRYSPECIFIC → const int
PRODUCT_CORE_N → const int
PRODUCT_CORE_SINGLELANGUAGE → const int
PRODUCT_DATACENTER_A_SERVER_CORE → const int
PRODUCT_DATACENTER_EVALUATION_SERVER → const int
PRODUCT_DATACENTER_SERVER → const int
PRODUCT_DATACENTER_SERVER_CORE → const int
PRODUCT_DATACENTER_SERVER_CORE_V → const int
PRODUCT_DATACENTER_SERVER_V → const int
PRODUCT_EDUCATION → const int
PRODUCT_EDUCATION_N → const int
PRODUCT_ENTERPRISE → const int
PRODUCT_ENTERPRISE_E → const int
PRODUCT_ENTERPRISE_EVALUATION → const int
PRODUCT_ENTERPRISE_N → const int
PRODUCT_ENTERPRISE_N_EVALUATION → const int
PRODUCT_ENTERPRISE_S → const int
PRODUCT_ENTERPRISE_S_EVALUATION → const int
PRODUCT_ENTERPRISE_S_N → const int
PRODUCT_ENTERPRISE_S_N_EVALUATION → const int
PRODUCT_ENTERPRISE_SERVER → const int
PRODUCT_ENTERPRISE_SERVER_CORE → const int
PRODUCT_ENTERPRISE_SERVER_CORE_V → const int
PRODUCT_ENTERPRISE_SERVER_IA64 → const int
PRODUCT_ENTERPRISE_SERVER_V → const int
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL → const int
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC → const int
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT → const int
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC → const int
PRODUCT_HOME_BASIC → const int
PRODUCT_HOME_BASIC_E → const int
PRODUCT_HOME_BASIC_N → const int
PRODUCT_HOME_PREMIUM → const int
PRODUCT_HOME_PREMIUM_E → const int
PRODUCT_HOME_PREMIUM_N → const int
PRODUCT_HOME_PREMIUM_SERVER → const int
PRODUCT_HOME_SERVER → const int
PRODUCT_HYPERV → const int
PRODUCT_IOTUAP → const int
PRODUCT_IOTUAPCOMMERCIAL → const int
PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT → const int
PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING → const int
PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY → const int
PRODUCT_MOBILE_CORE → const int
PRODUCT_MOBILE_ENTERPRISE → const int
PRODUCT_MULTIPOINT_PREMIUM_SERVER → const int
PRODUCT_MULTIPOINT_STANDARD_SERVER → const int
PRODUCT_PRO_WORKSTATION → const int
PRODUCT_PRO_WORKSTATION_N → const int
PRODUCT_PROFESSIONAL → const int
PRODUCT_PROFESSIONAL_E → const int
PRODUCT_PROFESSIONAL_N → const int
PRODUCT_PROFESSIONAL_WMC → const int
PRODUCT_SB_SOLUTION_SERVER → const int
PRODUCT_SB_SOLUTION_SERVER_EM → const int
PRODUCT_SERVER_FOR_SB_SOLUTIONS → const int
PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM → const int
PRODUCT_SERVER_FOR_SMALLBUSINESS → const int
PRODUCT_SERVER_FOR_SMALLBUSINESS_V → const int
PRODUCT_SERVER_FOUNDATION → const int
PRODUCT_SMALLBUSINESS_SERVER → const int
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM → const int
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE → const int
PRODUCT_SOLUTION_EMBEDDEDSERVER → const int
PRODUCT_STANDARD_A_SERVER_CORE → const int
PRODUCT_STANDARD_EVALUATION_SERVER → const int
PRODUCT_STANDARD_SERVER → const int
PRODUCT_STANDARD_SERVER_CORE_ → const int
PRODUCT_STANDARD_SERVER_CORE_V → const int
PRODUCT_STANDARD_SERVER_SOLUTIONS → const int
PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE → const int
PRODUCT_STANDARD_SERVER_V → const int
PRODUCT_STARTER → const int
PRODUCT_STARTER_E → const int
PRODUCT_STARTER_N → const int
PRODUCT_STORAGE_ENTERPRISE_SERVER → const int
PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE → const int
PRODUCT_STORAGE_EXPRESS_SERVER → const int
PRODUCT_STORAGE_EXPRESS_SERVER_CORE → const int
PRODUCT_STORAGE_STANDARD_EVALUATION_SERVER → const int
PRODUCT_STORAGE_STANDARD_SERVER → const int
PRODUCT_STORAGE_STANDARD_SERVER_CORE → const int
PRODUCT_STORAGE_WORKGROUP_EVALUATION_SERVER → const OS_PRODUCT_TYPE
PRODUCT_STORAGE_WORKGROUP_SERVER → const int
PRODUCT_STORAGE_WORKGROUP_SERVER_CORE → const int
PRODUCT_ULTIMATE → const int
PRODUCT_ULTIMATE_E → const int
PRODUCT_ULTIMATE_N → const int
PRODUCT_UNDEFINED → const int
PRODUCT_WEB_SERVER → const int
PRODUCT_WEB_SERVER_CORE → const int