Modifier and Type | Method and Description |
---|---|
static BazaarContext.Builder |
createBaseContext(Dictionary<String,?> properties)
Creates a basic
Bazaar Context Builder with the given
initial values. |
static <T> Bazaar<T> |
createBazaar(T defaultProduct)
Creates a new
Bazaar initialized with a given default product. |
public static <T> Bazaar<T> createBazaar(T defaultProduct)
Bazaar
initialized with a given default product. The created bazaar has a vendor which can
always provide the default product. Thereby, this vendor always bids the lowest valid amount.T
- The type of the bazaar's created products.defaultProduct
- The default product which can always be createdBazaar
public static BazaarContext.Builder createBaseContext(Dictionary<String,?> properties)
Bazaar Context Builder
with the given
initial values.properties
- Dictionary
containing the initial valuesBazaarContext.Builder
Copyright © 2019. All rights reserved.