public int indexOf(AbstractOption option){
  return options.indexOf(option);
}

public int indexOf ( AbstractOption option ) { return options . indexOf ( option ) ; }
gets the index of an option this can be used for adding options after / before another
