public static final class ItemAllocation.ItemAllocationBuilder<T extends Good> extends Object
| Constructor and Description |
|---|
ItemAllocationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ItemAllocation<T> |
build() |
void |
setDeclaredValues(Map<Bidder<T>,BigDecimal> declaredValues) |
ItemAllocation.ItemAllocationBuilder<T> |
withAllocation(Map<Bidder<T>,Bundle<T>> alloc) |
ItemAllocation.ItemAllocationBuilder<T> |
withDeclaredValues(Map<Bidder<T>,BigDecimal> declaredValues) |
ItemAllocation.ItemAllocationBuilder<T> |
withTotalValue(BigDecimal totalValue) |
ItemAllocation.ItemAllocationBuilder<T> |
withWorld(World world) |
public ItemAllocation.ItemAllocationBuilder<T> withWorld(World world)
public ItemAllocation.ItemAllocationBuilder<T> withAllocation(Map<Bidder<T>,Bundle<T>> alloc)
public ItemAllocation.ItemAllocationBuilder<T> withTotalValue(BigDecimal totalValue)
public ItemAllocation.ItemAllocationBuilder<T> withDeclaredValues(Map<Bidder<T>,BigDecimal> declaredValues)
public ItemAllocation<T> build()
public void setDeclaredValues(Map<Bidder<T>,BigDecimal> declaredValues)
Copyright © 2018. All rights reserved.