Distribute By Sign
class DistributeBySign(positiveAllocator: DifferenceAllocation, negativeAllocator: DifferenceAllocation) : SignBasedAllocation(source)
Allocates the Money difference according to its sign by distributing its difference units.
Parameters
positive Allocator
The DifferenceAllocation instance to distribute a positive difference value units.
negative Allocator
The DifferenceAllocation instance to distribute a negative difference value units.
Types
Link copied to clipboard
object Factory
A DistributeBySign factory.
Properties
Link copied to clipboard
The DifferenceAllocation instance to allocate a negative difference value.
Link copied to clipboard
The DifferenceAllocation instance to allocate a positive difference value.
Functions
Link copied to clipboard
Allocates the difference in the allocations list.