@Immutable public static class BrokerProposalLeaderboard.Result extends Object
Constructor and Description |
---|
Result(int brokerId,
List<DetailedProposal.Result> topAcceptedProposals,
List<DetailedProposal.Result> topRejectedProposals) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId() |
List<DetailedProposal.Result> |
topAcceptedProposals() |
List<DetailedProposal.Result> |
topRejectedProposals() |
public Result(int brokerId, List<DetailedProposal.Result> topAcceptedProposals, List<DetailedProposal.Result> topRejectedProposals)
brokerId
- the broker for which this result is fortopAcceptedProposals
- the top accepted proposals, descendingly sorted by impact (largest first)topRejectedProposals
- the top rejected proposals, descendingly sorted by impact (largest first)public int brokerId()
public List<DetailedProposal.Result> topAcceptedProposals()
public List<DetailedProposal.Result> topRejectedProposals()