public class GenericAllocation<T extends GenericDefinition> extends Object implements Allocation<GenericValue<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericAllocation.Builder<T extends GenericDefinition> |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableMap<Bidder<?>,GenericValue<T>> |
values |
| Modifier | Constructor and Description |
|---|---|
protected |
GenericAllocation(GenericAllocation.Builder<T> builder) |
| Modifier and Type | Method and Description |
|---|---|
GenericValue<T> |
getAllocation(Bidder<?> bidder)
Returns information about the goods allocated to a specific bidder
|
Collection<Bidder<?>> |
getBidders() |
BigDecimal |
getTotalValue() |
protected final com.google.common.collect.ImmutableMap<Bidder<?>,GenericValue<T extends GenericDefinition>> values
protected GenericAllocation(GenericAllocation.Builder<T> builder)
public GenericValue<T> getAllocation(Bidder<?> bidder)
AllocationgetAllocation in interface Allocation<GenericValue<T extends GenericDefinition>>public Collection<Bidder<?>> getBidders()
getBidders in interface Allocation<GenericValue<T extends GenericDefinition>>public BigDecimal getTotalValue()
getTotalValue in interface Allocation<GenericValue<T extends GenericDefinition>>Copyright © 2018. All rights reserved.