|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.dsol.formalisms.Resource.Request
public static class Resource.Request
A Request.
Constructor Summary | |
---|---|
Resource.Request(ResourceRequestorInterface requestor,
double amount,
int priority)
constructs a new Request |
Method Summary | |
---|---|
double |
getAmount()
gets the requested amount. |
long |
getId()
returns the id of the request |
int |
getPriority()
returns the priority of the request |
ResourceRequestorInterface |
getRequestor()
gets the requestor. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Resource.Request(ResourceRequestorInterface requestor, double amount, int priority)
requestor
- the requestoramount
- the requested amountpriority
- the priority of the requestMethod Detail |
---|
public double getAmount()
public ResourceRequestorInterface getRequestor()
public int getPriority()
public long getId()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |