public class SegmentSet
extends java.lang.Object
Constructor and Description |
---|
SegmentSet()
Constructs from nothing.
|
Modifier and Type | Method and Description |
---|---|
protected void |
add(Segment segment)
Adds a new segment.
|
int |
getTotalCount()
Gets the total number of elements in all segments.
|
java.util.Iterator |
iterator()
Gets the iterator over the segments.
|
double[][] |
take(double[][] values)
Extracts data based on segment information.
|
float[][] |
take(float[][] values)
Extracts data based on segment information.
|
protected void add(Segment segment)
segment
- The segment to be added.public int getTotalCount()
public java.util.Iterator iterator()
public double[][] take(double[][] values)
values
- The values to have segments extracted.public float[][] take(float[][] values)
values
- The values to have segments extracted.