StringList (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.util

## Interface StringList

- All Superinterfaces:
    java.lang.Iterable<java.lang.String>

      public interface StringList
      extends Iterable<java.lang.String>

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `add(java.lang.String s)`
    `java.lang.String` | `get(int index)`
    `int` | `size()`
    `java.lang.String[]` | `toStringArray()`
    `java.lang.String[]` | `toStringArray(int from, int to)` Return a section of the contents of the list.

    - ### Methods inherited from interface org.bouncycastle.util.Iterable

      `iterator`

- - ### Method Detail

    - #### add

          boolean add(java.lang.String s)

    - #### get

          java.lang.String get(int index)

    - #### size

          int size()

    - #### toStringArray

          java.lang.String[] toStringArray()

    - #### toStringArray

          java.lang.String[] toStringArray(int from,
                                         int to)

      Return a section of the contents of the list. If the list is too short the array is filled with nulls.
      Parameters:
        `from` - the initial index of the range to be copied, inclusive
        `to` - the final index of the range to be copied, exclusive.
      Returns:
        an array of length to - from