code: public @DoNotSub int lastIndexOf(
          final int value)
      {
          for (@DoNotSub int i = size - 1; i >= 0; i--)
          {
              if (value == elements[i])
              {
                  return i;
              }
          }
  
          return -1;
      }
docs: Index of the last element with this value.
  
  @param value for the element.
  @return the index if found otherwise -1.