Last change
on this file was 1, checked in by Wouter Pasman, 6 years ago |
Initial import : Genius 9.0.0
|
File size:
467 bytes
|
Line | |
---|
1 | package agents.nastyagent;
|
---|
2 |
|
---|
3 | import java.util.ArrayList;
|
---|
4 | import java.util.HashMap;
|
---|
5 |
|
---|
6 | import genius.core.Bid;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * mangles the map
|
---|
10 | *
|
---|
11 | */
|
---|
12 | public class StoreUnserializableThing extends NastyAgent {
|
---|
13 | @Override
|
---|
14 | public HashMap<String, String> negotiationEnded(Bid acceptedBid) {
|
---|
15 | // we actually got here. Report it.
|
---|
16 | super.negotiationEnded(acceptedBid);
|
---|
17 | ArrayList<Object> map = new ArrayList<Object>();
|
---|
18 | map.add(new Object());
|
---|
19 | data.put(map);
|
---|
20 | return null;
|
---|
21 | }
|
---|
22 |
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.