public final class ItemAllocation<T extends Good> extends Object implements Allocation<Bundle<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemAllocation.ItemAllocationBuilder<T extends Good> |
| Modifier and Type | Method and Description |
|---|---|
Bundle<T> |
getAllocation(Bidder<?> bidder)
Returns information about the goods allocated to a specific bidder
|
Collection<Bidder<T>> |
getBidders() |
BigDecimal |
getTotalValue() |
public Collection<Bidder<T>> getBidders()
getBidders in interface Allocation<Bundle<T extends Good>>public Bundle<T> getAllocation(Bidder<?> bidder)
AllocationgetAllocation in interface Allocation<Bundle<T extends Good>>public BigDecimal getTotalValue()
getTotalValue in interface Allocation<Bundle<T extends Good>>Copyright © 2018. All rights reserved.