public class RetentionTimeDiscrete extends Object implements RetentionTime
| Constructor and Description |
|---|
RetentionTimeDiscrete(double time,
TimeUnit unit)
Constructor for a retention time.
|
RetentionTimeDiscrete(RetentionTimeDiscrete src)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(RetentionTime retentionTime) |
RetentionTimeDiscrete |
copy() |
boolean |
equals(Object o) |
double |
getMaxRetentionTime()
Returns the largest retention time, the units of the time is seconds
|
double |
getMinRetentionTime()
Returns the smallest retention time, the units of the time is seconds
|
double |
getTime()
Returns the retention time the units of the time is seconds
|
int |
hashCode() |
String |
toString() |
public RetentionTimeDiscrete(double time,
TimeUnit unit)
time is
converted to seconds.time - the time for this retention timeunit - the unit for the timepublic RetentionTimeDiscrete(RetentionTimeDiscrete src)
src - the RetentionTime to copypublic double getTime()
RetentionTimegetTime in interface RetentionTimepublic double getMinRetentionTime()
RetentionTimegetMinRetentionTime in interface RetentionTimepublic double getMaxRetentionTime()
RetentionTimegetMaxRetentionTime in interface RetentionTimepublic RetentionTimeDiscrete copy()
copy in interface RetentionTimepublic boolean contains(RetentionTime retentionTime)
contains in interface RetentionTimeCopyright © 2016. All Rights Reserved.