org.jbpm.simulation.impl.ht
Class Range
java.lang.Object
org.jbpm.simulation.impl.ht.Range
- All Implemented Interfaces:
- Comparable<Range>
public class Range
- extends Object
- implements Comparable<Range>
|
Constructor Summary |
Range(int start,
int end,
int resourcePoolSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Range
public Range(int start,
int end,
int resourcePoolSize)
contains
public boolean contains(long time)
allocate
public AllocatedWork allocate(long startTime,
long duration)
getInterval
public org.joda.time.Interval getInterval()
compareTo
public int compareTo(Range o)
- Specified by:
compareTo in interface Comparable<Range>
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.