Adds the value of another resource to this resource and returns the new value.
Adds the value of another resource to this resource and returns the new value.
Subtracts one resource from another.
Subtracts one resource from another.
Implementation of less than.
Implementation of less than.
Implementation of less than or equal to.
Implementation of less than or equal to.
Implementation of greater than.
Implementation of greater than.
Implementation of greater than or equal to.
Implementation of greater than or equal to.
Must be implemented by subclasses to return a new instance with the specified value.
Override equals so that we get proper == and != support.
Override equals so that we get proper == and != support.
Round the number of cores to the nearest integer value.
Make the toString always return the value as a string.
Make the toString always return the value as a string.
(cores: any2stringadd[Cores]).+(other)
A resource representing a number of cores (including partial cores).