Class IBooleanList.IReadOnlyBooleanListFromArray

    • Field Detail

      • array

        boolean[] array
      • offset

        int offset
      • length

        int length
    • Constructor Detail

      • IReadOnlyBooleanListFromArray

        IReadOnlyBooleanListFromArray​(boolean[] array)
      • IReadOnlyBooleanListFromArray

        IReadOnlyBooleanListFromArray​(boolean[] array,
                                      int offset,
                                      int length)
    • Method Detail

      • doGet

        protected boolean doGet​(int index)
        Description copied from class: IBooleanList
        Helper method for getting an element from the list. This is the only method which really gets an element. Override if you need to validity checks before getting.
        Specified by:
        doGet in class IBooleanList
        Parameters:
        index - index of element to return
        Returns:
        the element at the specified position in this list