com.io7m.jstructural.annotated

## Interface SASegmentsReadable

- All Known Implementing Classes:
    SADocument, SADocumentWithParts, SADocumentWithSections

      public interface SASegmentsReadable

  Readable interface to the set of segments in the given document.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SASegmentNumber` | `segmentGetFirst()`
    `com.io7m.jfunctional.OptionType<SASegmentNumber>` | `segmentGetNext(SASegmentNumber n)`
    `com.io7m.jfunctional.OptionType<SASegmentNumber>` | `segmentGetPrevious(SASegmentNumber n)`
    `com.io7m.jfunctional.OptionType<SASegmentNumber>` | `segmentGetUp(SASegmentNumber n)`

- - ### Method Detail

    - #### segmentGetFirst

          SASegmentNumber segmentGetFirst()

      Returns:
        The number of the first segment

    - #### segmentGetNext

          com.io7m.jfunctional.OptionType<SASegmentNumber> segmentGetNext(SASegmentNumber n)

      Parameters:
        `n` - The current segment
      Returns:
        The number of the next segment (if any)

    - #### segmentGetPrevious

          com.io7m.jfunctional.OptionType<SASegmentNumber> segmentGetPrevious(SASegmentNumber n)

      Parameters:
        `n` - The current segment
      Returns:
        The number of the previous segment (if any)

    - #### segmentGetUp

          com.io7m.jfunctional.OptionType<SASegmentNumber> segmentGetUp(SASegmentNumber n)

      Parameters:
        `n` - The current segment
      Returns:
        The number of the parent segment (if any)

Copyright © 2015 <code@io7m.com> http://io7m.com