Class Seize.Request<T extends Number & Comparable<T>>
java.lang.Object
nl.tudelft.simulation.dsol.formalisms.flow.Seize.Request<T>
- Type Parameters:
T
- the time type
- Enclosing class:
- Seize<T extends Number & Comparable<T>>
The Request Class defines the requests for resource.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Request
Method Request.- Parameters:
entity
- Entity<T>; the requesting entityamount
- double; is the requested amountqueueEntryTime
- T; the time the request was created
-
-
Method Details
-
getAmount
public double getAmount()Return the requested amount.- Returns:
- double; the requested amount
-
getEntity
Return the entity.- Returns:
- Entity<T>; the entity
-
getQueueEntryTime
Returns the time when the request was made.- Returns:
- T; the time when the request was made
-