public class Timewindow extends java.lang.Object implements java.lang.Comparable<Timewindow>
This class is IMMUTABLE
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected double |
endTime
ending time round off to the third decimal place
|
protected double |
startTime
starting time round off to the third decimal place
|
| コンストラクタと説明 |
|---|
Timewindow(double startTime,
double endTime)
startTime must be less than endTime
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
compareTo(Timewindow o) |
boolean |
equals(java.lang.Object obj) |
double |
getEndTime() |
double |
getStartTime() |
int |
hashCode() |
java.lang.String |
toString() |
protected final double startTime
protected final double endTime
public Timewindow(double startTime,
double endTime)
startTime - start time of the windowendTime - end time of the windowpublic int compareTo(Timewindow o)
compareTo インタフェース内 java.lang.Comparable<Timewindow>public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Objectpublic java.lang.String toString()
toString クラス内 java.lang.Objectpublic double getStartTime()
public double getEndTime()