979899100101102103104105106107
if (authority.equals("nearest")) { options.add(new OptionNearest()); } if (authority.equals("youngest")) { options.add(new OptionYoungest()); } if (authority.equals("oldest")) { options.add(new OptionOldest()); }