Package hec.io
Class TimeSeriesContainerAligner
java.lang.Object
hec.io.TimeSeriesContainerAligner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean[]protected intprotected intprotected booleanprotected booleanprotected booleanprotected int[]protected static intprotected TimeSeriesContainer[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalign(int index) booleanaligned(int i) voidvoidvoidvoidintintgetCount()intgetIndex(int i) intgetQuality(int i) intgetTime()getTsc(int i) doublegetValue(int i) booleanbooleanhasNext()booleanprotected voidvoidsetControllingIndex(int index)
-
Field Details
-
nonAlignedQuality
protected static int nonAlignedQuality -
controllingIndex
protected int controllingIndex -
count
protected int count -
tscs
-
indicies
protected int[] indicies -
aligned
protected boolean[] aligned -
hasNext
protected boolean hasNext -
hasPrevious
protected boolean hasPrevious -
hasCurrent
protected boolean hasCurrent
-
-
Constructor Details
-
TimeSeriesContainerAligner
- Throws:
ComputationException
-
-
Method Details
-
setControllingIndex
public void setControllingIndex(int index) -
alignFirst
public void alignFirst() -
alignLast
public void alignLast() -
alignNext
public void alignNext() -
alignPrevious
public void alignPrevious() -
align
public void align(int index) -
getCount
public int getCount() -
getAlignedCount
public int getAlignedCount() -
aligned
public boolean aligned(int i) -
getIndex
public int getIndex(int i) -
getTime
public int getTime() -
getValue
public double getValue(int i) -
getQuality
public int getQuality(int i) -
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious() -
hasCurrent
public boolean hasCurrent() -
getTsc
-
setBoundaryFlags
protected void setBoundaryFlags()
-