public class SegmentSet extends java.lang.Object implements ISegmentSet
| Constructor and Description |
|---|
SegmentSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(ISegment objSegment)
Adds a segment in list.
|
void |
addUnRecognizedSegment(UnRecognizedSegment objUnRecognizedSegment)
Add UnRecodnizedSegment in list
|
ISingleCollection<ISegment> |
getList()
Retrieves list of segments
|
ISegment |
getSegment(int iIndex)
Retrieves a Segment from a given index position.
|
ISingleCollection<UnRecognizedSegment> |
getUnRecognizedSegments()
Retrieves list of Unrecognized segments.
|
ICollectionIterator<ISegment> |
iterator()
Provides iterator over the collection of Segments
|
int |
size()
Retrieves size of SegmentSet
|
public void addSegment(ISegment objSegment)
addSegment in interface ISegmentSetobjSegment - instance of segmentpublic void addUnRecognizedSegment(UnRecognizedSegment objUnRecognizedSegment)
addUnRecognizedSegment in interface ISegmentSetobjUnRecognizedSegment - object of unrecognizedSegment.public ISingleCollection<UnRecognizedSegment> getUnRecognizedSegments()
getUnRecognizedSegments in interface ISegmentSetpublic ISingleCollection<ISegment> getList()
getList in interface ISegmentSetpublic ISegment getSegment(int iIndex)
getSegment in interface ISegmentSetiIndex - value of indexpublic ICollectionIterator<ISegment> iterator()
iterator in interface ISegmentSetpublic int size()
size in interface ISegmentSet