@ Pure public Iterable < IntegerSegment > toSegmentIterable ( ) { return new Iterable < IntegerSegment > ( ) { @ Override public Iterator < IntegerSegment > iterator ( ) { return new SegmentIterator ( ) ; } } ; }
Returns an iterable object over the segments in this list in proper sequence .