com.io7m.jstructural.annotated

## Interface SAIDMapReadable

- All Known Implementing Classes:
    SAIDMap

      public interface SAIDMapReadable

  Readable interface to the ID → content mappings.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SAIDTargetContent` | `get(SAID id)` Retrieve the content associated with the given ID, or `null` if there is no association.
    `int` | `size()`

- - ### Method Detail

    - #### get

          @CheckForNull
          SAIDTargetContent get(@Nonnull
                                           SAID id)
                                throws com.io7m.jaux.Constraints.ConstraintError

      Retrieve the content associated with the given ID, or `null` if there is no association.
      Parameters:
        `id` - The ID
      Returns:
        The associated content
      Throws:
        `com.io7m.jaux.Constraints.ConstraintError` - If any parameter is `null`

    - #### size

          int size()

      Returns:
        The number of mappings

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