source:
src/main/java/onetomany/bargainingchipsgame/ChipMapping.java@
282
Last change on this file since 282 was 281, checked in by , 5 years ago | |
---|---|
File size: 324 bytes |
Line | |
---|---|
1 | package onetomany.bargainingchipsgame; |
2 | |
3 | import java.util.HashMap; |
4 | import java.util.Map; |
5 | |
6 | /** |
7 | * Represents a function from Chips to Double; |
8 | * such as quantity, price bounds, etc. |
9 | */ |
10 | public class ChipMapping<T> |
11 | { |
12 | protected Map<Chip, T> f; |
13 | |
14 | public ChipMapping() |
15 | { |
16 | f = new HashMap<Chip, T>(); |
17 | } |
18 | |
19 | } |
Note:
See TracBrowser
for help on using the repository browser.