|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aim4.im.v2i.RequestHandler.BatchModeRequestHandler.IndexedProposal
public static class BatchModeRequestHandler.IndexedProposal
A proposal with a unique ID.
Constructor Summary | |
---|---|
BatchModeRequestHandler.IndexedProposal(int id,
Request.Proposal proposal,
Request request,
List<BatchModeRequestHandler.IndexedProposal> proposalGroup,
double submissionTime)
Create a new indexed proposal |
Method Summary | |
---|---|
int |
compare(BatchModeRequestHandler.IndexedProposal ip1,
BatchModeRequestHandler.IndexedProposal ip2)
Compare two indexed proposals |
int |
compareTo(BatchModeRequestHandler.IndexedProposal ip)
Compare this indexed proposal with a given indexed proposal |
boolean |
equals(BatchModeRequestHandler.IndexedProposal ip)
Whether or not this indexed proposal is equal to the given indexed proposal. |
Request.Proposal |
getProposal()
Get the proposal. |
List<BatchModeRequestHandler.IndexedProposal> |
getProposalGroup()
Get the reference to the group of proposals of the request message in to which the proposal belongs. |
Request |
getRequest()
Get the request message of this proposal. |
double |
getSubmissionTime()
Get the submission time of the request. |
String |
toString()
Get the description of this batch policy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public BatchModeRequestHandler.IndexedProposal(int id, Request.Proposal proposal, Request request, List<BatchModeRequestHandler.IndexedProposal> proposalGroup, double submissionTime)
id
- the ID of this request policyproposal
- a proposalrequest
- the request message of the proposalproposalGroup
- a reference to the group of proposals of a request
messagesubmissionTime
- the submission timeMethod Detail |
---|
public Request.Proposal getProposal()
public Request getRequest()
public List<BatchModeRequestHandler.IndexedProposal> getProposalGroup()
public double getSubmissionTime()
public boolean equals(BatchModeRequestHandler.IndexedProposal ip)
ip
- an indexed proposal
public int compare(BatchModeRequestHandler.IndexedProposal ip1, BatchModeRequestHandler.IndexedProposal ip2)
compare
in interface Comparator<BatchModeRequestHandler.IndexedProposal>
ip1
- an indexed proposalip2
- an indexed proposal
public int compareTo(BatchModeRequestHandler.IndexedProposal ip)
compareTo
in interface Comparable<BatchModeRequestHandler.IndexedProposal>
ip
- an indexed proposal
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |